- Home /
(solved) Animation teleport my 3Dmodel above into midair, away from its pivot?
Hi, so the image below describes the problem: when I start the game, the 3D model is moved away from its pivot, but I can't find what is making it behave like this.
Does anyone what could be the potential cause of this?
Much thanks!
Once I had the same Problem. What I think about your Problem is:
If you type a the letter for "run" or sth else a Animation makes a Problem. So. If it is played the player jumps to another prosition. Position after playing of the Animation = not the Position of the character before playing. (z axis). Had this Problem onces with a weapon. Hope that helps you!
Answer by ComeSweetDeath · Aug 24, 2014 at 07:55 PM
SOLVED:
Thank you .black for the comment!
I managed to find the cause for my problem by creating a new scene and trying to replicate the issue, and it turned out that it was caused by positioning issue when I parented the character's spine to an empty game object.
To clarify what I mean, the character I'm using had its pivot NOT CENTERED in the middle of the model, but is at the foot of the character at (0,0) origin, which is where it's supposed to be in. However, when I created an empty gameobject to parent the spine of the character model, I did not place the gameobject at the foot of the model but at its center. And because I renamed the empty gameobject as "SpineCtrl", I didn't realise that it's actually not something that came with the model. So yeah. Thanks to all the people who took a look at my problem!