You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting in beta 14 the term used for setting which state a transition node in an animationtreenodeblendtree is set to was changed from current to current_state. In beta 14 and up using neither current nor current_state seems to work. In beta 13 using current would work but beta 14 and up return the error: "Invalid set index 'parameters/Transition/current_state' (on base: 'AnimationTree') with value of type 'float'
using typoeof() shows it's of type string though using '1' 'state 1' 'state_1' or changing the states name to something like 'hi' (doing so will also break the transition request in the inspector) and using that makes no difference (though doesn't return an error).
create a project with an animationtree and animation player as children of the root node. Add an animationtreenodeblendtree to the animationtree and set up a transition like shown below. Then try to transition between animations in gdscript.
Godot version
Godot 4.0 beta 14 and up
System information
Windows 10 education 21H2, mobile renderer
Issue description
Starting in beta 14 the term used for setting which state a transition node in an animationtreenodeblendtree is set to was changed from current to current_state. In beta 14 and up using neither current nor current_state seems to work. In beta 13 using current would work but beta 14 and up return the error:
"Invalid set index 'parameters/Transition/current_state' (on base: 'AnimationTree') with value of type 'float'
using typoeof() shows it's of type string though using '1' 'state 1' 'state_1' or changing the states name to something like 'hi' (doing so will also break the transition request in the inspector) and using that makes no difference (though doesn't return an error).
image taken from: https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#blend-tree
Steps to reproduce
create a project with an animationtree and animation player as children of the root node. Add an animationtreenodeblendtree to the animationtree and set up a transition like shown below. Then try to transition between animations in gdscript.
Minimal reproduction project
animationtree bugtest 2-1-23.zip
The text was updated successfully, but these errors were encountered: