Animation Issue

I have imported animation from 3D max (Simple plane movements)

When animation playing it changes from X50 to X200 for example

Point is if I set X = 20 to my plane(in Editor), when Animation will start playing it will change X variable to 50 in first frame.

But i need it to playing transform changes from curent position. For example if I set X = 0, to should play from 0 to 150, if I set X = 20, it should play from 20 to 170.

For now, it doesn’t metter what value of X I will set, It always playing from 50 to 200.

Yeah, its normal because it is animated in relation to something and here it is xyz 0,0,0 so no matter where you move it it will always go start at the position you have in your animation.

The solution is to parent the animated object.

If you are you using Legacy:

  • Add a parent. The object you have the animation on (the plane) should be a child. So it should have a parent. So when the plane(child) plays the animation, it should now move in relation to the parent.

If using mecanim:

-Make sure when you create the animation in your 3D max that your plane has a parent and export it as well.

Hope this helps.

Thx for replay.

Yes, this is what I’m doing for now. But I have filing that spouse to be a better solution.