- Home /
Can't seem to get my Transition to work at all
Hello All , i have been trying for a few days now to get a transition to work with two animations and no matter what i have tried it does not want to work what so ever , i can't even get the animation to play after the first animation has finished without transitions.
Using transitions the other animation plays for about a nano second and then goes straight back to the original animation despite the original not being on loop.
Code for the transition is below .
if (FirstReaction > 3) {
DummyAnimator.Play ("Dismissive");
Debug.Log ("Dismissive");
if (DummyAnimator.GetCurrentAnimatorStateInfo(0).normalizedTime >= 1) {
DummyAnimator.SetTrigger("DisTrigger");
}
}
Answer by oussamahassini6 · May 22, 2018 at 04:56 PM
It's simple just use an ienumerator coroutine to wait for secounds until the animation is done and the lunch the secound anim. If this didn't worked create an animation cycle. @ryand555
A animation cycle is what i've been trying to create , i will give the ienumerator and core routine a try thanks , any other reasons why this doesn't work would be great to know thanks.
Your answer
Follow this Question
Related Questions
How to reset animator controller ? 4 Answers
Opening one door in a scene causes all others to open 1 Answer
how i can stop the animator to play trigger animation? 1 Answer
Why i can't play animation clip i did ? Tried anything so far. 1 Answer
Hiding non-public functions from Animation Event Window? 0 Answers