- Home /
animation wont play
i have some animations but they dont work i use a simple code just to let it run code:
function Update()
{
animation.Play ("run");
}
the animations i use : http://www.mediafire.com/?zthmydyczlg
PS i am 13 and my english is bad ;)
Answer by runevision · Jun 30, 2010 at 11:47 AM
The code should work.
Does the run animation work at all? if you drag the run AnimationClip into the Animation slot of the Animation component and set Play Automatically to true, does it play OK?
Is "run" the exact name of the AnimationClip?
Answer by crasyboy42 · Jul 02, 2010 at 10:02 AM
yes and yes you can download the animations and see what happend btw i have made them with maya 2011 and confert them intro fbx 2006
Answer by ChewbaccaStudios · Jan 10, 2014 at 02:11 AM
even if this is 4 years late, use the animator controller component.
Your answer
Follow this Question
Related Questions
Help with animation 1 Answer
can't play simple animation 2 Answers
Character Animation Assistance 1 Answer
Animations not playing 0 Answers
Unity thinks my animation is not attached, but it is. 2 Answers