- Home /
How do I loop an animation with Unity 4.3?
I've been trying to figure out how to loop this animation where a coin is spinning, but when I add the animation in-game, the coin just spins in a full 360 degrees and the stops and I get the error "AnimationEvent has no function name specified"
Answer by 4ndro1d · Nov 19, 2013 at 10:34 PM
Set also the default animation and at the Wrap Mode dropdown select loop.
Answer by DylanCaroooo · Nov 19, 2013 at 10:34 PM
if you click on the animation there should be a drop down menu you can then select either loop or ping pong I think ping pong would work best for this coin of yours. Hope this helps
Thanks, but I'm still getting the "AnimationEvent has no function name specified" error after the coin spins in one full circle
Answer by jhample · Nov 21, 2013 at 06:48 AM
The "AnimationEvent has no function name specified" error is because you clicked the animation event button by accident (most likely) instead of clicking the keyframe button. Animation events make function calls. So it it trying to figure out what function to call when it hits that frame.
Answer by unpluggeDloop · Apr 11, 2014 at 11:10 PM
Drag animation in Hierarchy > click on your animation in Assets > open elements of animation (by clicking on arrow on it) > simple drag animation video (you will see icon with play button on it) in Inspector section of your animation | you will see that you now see name of that clip in Animator section > Controller. Your animation is loaded when you hit play it plays once.
Now above you got Model section with Select, Revert, Open > click on Select > you will find Loop Time click on that > start animation and you got infinitive loop :)
Answer by gordeszkakerek · Apr 21, 2014 at 09:45 AM
Select the animation file, then in the inspector panel have a tab (up) , right click on this tab and select "Debug". Then you see the "Wrap Mode" too.
Your answer
Follow this Question
Related Questions
Blender Animation Looping Delay Problem 2 Answers
Loop Animation In Script? 2 Answers
Loop Animation Help 1 Answer
Animation Scripting Help 1 Answer
Loop Time through Script 2D 4.3 1 Answer