- Home /
Having issues with custom FBX animations
As shown in the video, I'm having problems with my animations. Unity seems to want to zero everything out as soon as the game plays.
Answer by Paulius-Liekis · Sep 19, 2014 at 06:02 PM
Everything is as expected.
Root node of your model is animated and when you play your animation it affects transform of root node (sets it to 0).
You have three options:
Do not animate object, i.e. remove animation componetns
Create empty game object, make it a parent of your animated object, then move the parent game object. This way the animation will play in "local space" and that will get trasnformed by parents translation and everything will look as expected/
Add dummy object into your model file (and export both mesh and dummy into same file). Then Unity will see that there are two root level objects and will add a parent gameobject automatically (and parent won't be animated).