- Home /
How to trigger an animator transition after the current animation has finished?
Say I have a landing animation that needs to be played once after the jump animation, then after the landing animation I need to trigger a transition to the run animation.
What I’m doing to accomplish this effect is to tweak the Exit Time in the transition landing -> run to a duration that “feels” right but I wonder if there is a way to automatically trigger the transition once the landing animation is finished.

Answer by highpockets · Apr 06, 2019 at 08:05 PM
Just do a coroutine right after the landing animation is started and WaitForSeconds(landingAnimationLength); and then trigger your animation when the yield statement is finished.
Your answer
Follow this Question
Related Questions
How to choose between two animation options in the Animator? 1 Answer
Animator parameters can't be changed by code and won't make animations transition when active 0 Answers
Animator Switches States Immediately 2 Answers
Create animation transitions via script. 0 Answers
2D animations transitions 0 Answers