- Home /
Why is my animated mesh snapping to the terrain origin on play?
Our problem is that when we made a animation of a model in Maya 8.5 and import it into unity every time we hit play it snaps to the origin of the terrain. We tried changing size of terrain did not fix but when we disabled animation it no longer snapped. Any suggestions to help would be greatly appreciated.
Answer by Robin · Sep 07, 2010 at 07:14 AM
I'm sure you animated your character on the origin point in Maya 8.5. Unity is using those positions(x,y,z) for your animation as well. I suggest creating a game object and parenting the gameobject to your character and it will be using the gameobject as a sort of world axis and that will fix the problem. Hierarchy view NewGameObject > character with animation. This is a quick fix I'm looking for more solutions right now myself and came across this. Hope it works for what you are aiming for.
Answer by Olninyo · Apr 09, 2013 at 08:30 PM
is it to do with the object having apply root motion checked? that was sending my animated flag to places other than where I positioned it.