playing and yielding to animations from animation player or animation tree?
Opened this issue · 4 comments
State machine is simply for state management, it doesn't handle animation.
Anyway, I don't think you can yield for animation tree, so I would say animation player
animation is tied to state though.
it makes it so we don't have to attach scripts and switch through all the states just to manage animations.
I was thinking something like a animation node in the chart editor where we could set a animation player and a animation to play or something when a state is active
let me do a moch up real quick
I don't know what font the editor uses but the basic idea is that you could assign a animation player to the state machine and have animation finished conditions and animation nodes
EDIT: in fact assigning the animation player through the node would be better that way we can have multiple animation players per state machine
this would be really good for controlling menus
I could do fine without animation tree but I really need animation player because I am using it for menus
@imjp94 you there?
I have been trying to use godot's animation tree to do state machines but it's completely broken.
It won't update states properly and I am really hoping this could be a alternative