- Home /
Elevator to loop (Animation)
Been using Unity for about a year now and I've just touched upon actually implementing some basic animations.
I have made an animation for my elevator to go down and up but having problems to get it to loop.
Please check image: http://imageshack.us/photo/my-images/194/unityanimation.jpg/
Any suggestions on how I can get the loop working?
Much thanks.
Have you tried to set the Wrap$$anonymous$$ode to loop?
Btw, nice background... I have the one from $$anonymous$$agicka, that makes fun of that particular game :)
Warp$$anonymous$$ode... hmm will look into it. Coding related I gather? Aha the Vietnam DLC is awesome :}
Cheers man
Answer by FLASHDENMARK · May 10, 2011 at 06:49 PM
You could set the settings for the animation (without scripting) in the inspector. Just click the animation in the project panel and set the animation to wrapMode.Loop.
Or you can use scripting:
animation.wrapMode = WrapMode.Loop;
or something similar :)
Your answer
Follow this Question
Related Questions
Why is Unity Adding Extra Frames to Animation? 4 Answers
Can I make animations snap to a frame? 1 Answer
Problem using mecanim and the Animation process 0 Answers
EDITOR: How to Change Animation Curve Colors 0 Answers
"getcurve" from a gameobject 0 Answers