- Home /
Loop animation with a wait in between
I've got an animation that I want to loop but in between each loop it waits for 5 seconds or so, so it's not just finishing the animation and immediately starting it again. Any ideas?
Check the transition arrows blue sliders, for ti$$anonymous$$gs.
Answer by Chris333 · Jan 23, 2015 at 03:29 PM
Hi,
you could create a Animator Controller and inside of it you can create two states. One is the idle state which does nothing and the second plays your animation. Than you can link between these states with transitions by setting conditions for each transition. For leaving the state which plays the animation you can easily set a exit time in the inspector.
Take a look into these tutorials.
http://unity3d.com/learn/tutorials/modules/beginner/animation
Answer by oslav · May 25, 2017 at 02:51 PM
I've met behavior similar to your's. In my case the problem was in easing of the animation. You have to switch to Curves animation editor view and make tangents to be linear.
Answer by zakirshikhli · Aug 02, 2017 at 02:44 PM
Possibly You moved your first keys from 0.0 to right in Timeline
Your answer
Follow this Question
Related Questions
Wait before playing audio 2 Answers
Simple rotation script. (loop) 3 Answers
Definition of Script.function() depends on Script.function()... 3 Answers
A delay/yield/wait function for function Update? 6 Answers
Yield Not Working - While Loop 3 Answers