when i try to use the same "hit" parameter i used to enter the same state machine, it creates another one.
i don't need that.
i want to go into hits state machine when you attack, and while the "hit" == true, if you HIT again it goes to another hit animation, kinda like a combo!
if you hit once and don't hit again then it exits and goes right back to move, but for that to work i would need to use "hit" bool to guide it. Any help is appreciated
#StateMachine parameters problem
1 messages · Page 1 of 1 (latest)
you want to disable the switch from hits to move if you are still attacking
yes i want to disable it, is there a way to do that
iirc, you can click the green arrow to show its conditions in the inspector, iirc you can write actual boolean comparisons in the text field (but without syntax highlighting).
You can modify its value from code too which is more reliable.
https://docs.godotengine.org/en/stable/tutorials/animation/animation_tree.html
Godot Engine documentation
Introduction: With AnimationPlayer, Godot has one of the most flexible animation systems that you can find in any game engine. The ability to animate almost any property in any node or resource, as...