- Home /
How to make an animation clip on Unity to loop
I am using the Unity Mecanim, and I have two animation clips:
The problem is that when the animation of a clip finish it doesnt start again from the beggining, it doesnt loop, and I cannot find any option for make it loop.
Any help, where to look for the loop options?
Hey bud,
In your Update function, (or where ever you are calling your states to animate in the code) you should be using something like..
Animator.SetBool("animation_name", flag);
Animator.SetBool("Idle_ReadyToNeutral", true);
This would ensure each update that your animation was played due to being set to "true".
These links below should help you out a little: $$anonymous$$ecanim $$anonymous$$ecanimVideoCodingAnimationEvents
Take care bud. Gruffy
Answer by OllyNicholson · Apr 03, 2014 at 10:12 AM
Hi - the loop options for the clip are on the Animations tab in the inspector:
Select your object in the project pane
Select the Animations tab in the inspector
Check relevant loop settings
Click Apply