- Home /
Switch between animations but keeping frame number?
I have 2 animations that are 6 frames each. What I want is when I go from the one animation to the other to keep either the time or the frame of the previous animation at the time I change it and pass it to the second one.
So basically for example, I have animation1 at frame 4 and I change to animation2, I want animation2 to start from frame 4.
Although not sure if it's better to do it with time or with frames. Notice that I want somehow to make the animation faster each second by a little ( which I'm also looking for how to do it). What do you think?
You can use Unity's mechanim system. Look up Unity $$anonymous$$echanim Tutorial or Unity Animation Transitions for a wide range of tutorials that can show you how to create transitions with multiple animations.
As you can see at the top with the > arrow, it shows that it's going from one animation to another. The blue diagonal line represents the transition.
I hope this is what you're looking for.
Your answer
Follow this Question
Related Questions
Animated object changes position when animation is played. 1 Answer
Change player's y-position for a specific animation 1 Answer
Moving an object back to original location using animation 1 Answer
Animation frame size workaround? 0 Answers
2D Game change object's position based on animation. 1 Answer