Reply To: Animator Clip Wait Till Finish

NodeCanvas Forums Support Animator Clip Wait Till Finish Reply To: Animator Clip Wait Till Finish

#10069
Gavalakis
Keymaster

Hello,

The problem lies within the Mecanim system. If you try to play an animation state that is already the current playing animation state, then the animation won’t play again from the beggining.
If you change between animation states, then everything will be fine.

For example, if the animation you want to play is an “Attack” animation (non-looping) and you tell animator to play “Attack” again, it won’t happen. If though after the attack, you play an “Idle” and then “Attack” again it will play.

It’s just how the Mecanim/Animator works. It doesn’t really have to do whether or not the animation is set to Loop or WaitUntilFinish within the NC action task.

(I always prefered Legacy Animation :))

I hope this helps

Join us on Discord: https://discord.gg/97q2Rjh