- Home /
wrong animation is played
Hello
I've modelled and animated a dragon in blender 2.5. It has a couple of actions, 'walk', 'neck' among others. I've connected the script to the game object:
function Update () { animation.Play("neck", PlayMode.StopAll); }
When I run game 'walk' is played, not 'neck'. I'm confused, no errors on the console. Maybe there was something wrong with the export?, how to check it?
here is the exported file: dragon
Answer by 23cool1234 · Dec 14, 2010 at 09:03 PM
I do believe you named the animations wrong. Have you tried making it play "Walk"? After you play the "walk" animation does it play "neck"? You should double check that you named them correctly in blender. I hope I helped.
If that was a case there would be an error in the console that the animation with such a name does not exists.
You've tried every animation and none plays neck? Sorry I can't help you.
Answer by Tom 12 · Dec 15, 2010 at 04:30 PM
Really no one to suggest a solution?. Maybe providing a source blend could help ?
Answer by Makaber · Jan 09, 2011 at 04:36 AM
Select your model in the "Hierarchy" take a look in the "Inspector" and check if the checkbox for "Play Automatically" is selected. If yes, uncheck it.
Answer by psychentist · Jul 07, 2011 at 10:54 PM
When you export, make sure you check the "all actions" box, otherwise there will only be one animation on the model.
Your answer

Follow this Question
Related Questions
creating a disolvable ik rig in blender for unity3D mecanim 0 Answers
Unity Partially Ignoring Blender Animation 1 Answer
blender animation 0 Answers
Animation for rigged chest in blender does not work in Unity 0 Answers
Child problem in animation 1 Answer