- Home /
Interrupting an animation cycle in Unity2D
I'm transitioning from a walk animation to a death animation. The issue is that the character won't transition into the death animation until his "current" cycle of the walk animation is completed. How do you get around this? I've set the "Exit Time" condition to 0 (so that no time is spent executing the walk cycle before transitioning to the death cycle) and I've unchecked the "atomic" box so that the walk animation can be interrupted upon the death condition.
What am I missing to transition instantly from one state to another without finishing the current animation?
Thanks.
Answer by mbradber · May 21, 2014 at 02:43 AM
I fixed this by removing the "Exit Time" condition on the transition. Now it won't wait for the source animation to finish first, it will instantly switch to the next animation.