- Home /
My model is moving during animation but it should not be
I havr a model made and anmated in blender. I recently upgraded my game to use Mecanim. As a result I had to create a new rig, I now have two animations a standing and a bowing. I created these just to test the model, rig and animations. Standing is a default animation, it has an exit time of .5 that leads into bowing. Bowing palys the animation and has an exit time of .68. When the animation plays the y position of the the model, not just the rig, is climbing. I went into blender and verified that the hips are returning to the original position. If it were an issue with the animation wouldn't the transform of the model its self stay in place and the rig would be moving? The gameObject only has an animator, it does not have any scripts. There are no scripts that reference the transform of the model. When I remove the tranistion from standing to bowing the model stays stationary, when I take off apply root motion the model stays stationary however, his feet lift off the floor instead of his feet staying on the ground and his hips dropping. What could I have done wrong?
If you haven't already, read this: http://docs.unity3d.com/Documentation/$$anonymous$$anual/$$anonymous$$ecanimAnimationSystem.html
and take a look at this:
http://www.youtube.com/watch?v=Xx21y9eJq1U
You will probably have to set a rig to "Humanoid" in import options. $$anonymous$$ake sure that animations look right in animation preview window.
Check these settings for each of your animations.
http://answers.unity3d.com/questions/429825/mecanim-with-rigidbody-walking-in-mid-air.html
Let me know if it helps.
O$$anonymous$$, it was the bake into pose that fixed it. Thank you @ZenithCode I do not have a button to convert youcomment to an answer, if you can convert your comment to an answer then I will accept it.
Answer by ZenithCode · Aug 29, 2013 at 03:09 PM
Check these settings for each of your animations.
http://answers.unity3d.com/questions/429825/mecanim-with-rigidbody-walking-in-mid-air.html
Let me know if it helps.
Your answer

Follow this Question
Related Questions
Animation Problems 1 Answer
animation blender to unity problem 0 Answers
how do I make my character walk? 1 Answer
How can i put multiple animations on one object in blender? 1 Answer
Blender animations moves my object 4 Answers