Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make an animation clip on Unity to loop

Tags:

unity3d

I am using the Unity Mecanim, and I have two animation clips:

enter image description here

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 to make it loop.

enter image description here

Any help, where to look for the loop options?

EDIT:

I find the options according to the answers here but there are not editable, is it because I download this from Asset Store?

enter image description here

like image 812
Avraam Mavridis Avatar asked Apr 02 '14 11:04

Avraam Mavridis


People also ask

How do I make an animate loop?

You can play your animation by pressing Ctrl + Enter on Windows or Command + Enter on Mac. That will loop through all the frames on the main timeline, unless you have scripted it to stop.

How do you make a sprite animation loop in Unity?

Making a looping sprite animation is easy in Unity. All that you need to do is create the sprite gameobject, give it an Animator component, open the Animation window and then drag in the sprite sequence and it is done.


3 Answers

Its probably too late to help you with this, but just incase anyone else has this issue, your looping options are greyed out because your animation from the asset store is read-only, select your animation in the project window, and press Ctrl+D to duplicate it, and you should be able to now set the looping options on the new animation as the other answerers have described.

like image 53
Lizzie Avatar answered Sep 20 '22 10:09

Lizzie


Click on your Run_Impulse animation file and there is an option:

http://docs.unity3d.com/Documentation/Components/class-AnimationClip.html

Loop Pose option should be cheked for make it loop

Here, there is more information about making loop an animation clip:

http://docs.unity3d.com/Documentation/Manual/LoopingAnimationClips.html

EDIT: I add an image. You have to select your imported FBX (not the animation file inside) and check the Loop Time.

Select the Animations tab from your IMPORTED fbx

like image 44
EoD Avatar answered Sep 19 '22 10:09

EoD


http://answers.unity3d.com/questions/204331/animation-loop.html

Go to the animation and set it as looping .In the Animation window look at the bottom for something that should say 'Default' - it's a drop-down menu with looping options (Loop starts the animation over, PingPong plays it back and forth, Clamp Forever freezes the animation at the state of the last frame etc.)

like image 40
MrDobilina Avatar answered Sep 21 '22 10:09

MrDobilina