problem with animation and rotation

Hi there guys

I just made an animation in 3ds amx, imported it into unity, convert into prefab and the dragged the prefab into my scene. When I rotate the object and play the animation, it jumps back to the original orientation of the object! Why is this and how can I rectify the problem???

Thanks

Parent your prefab/game object to another game object and rotate parent gameobject.

Thanks paulius

For some reason the animation still jumps to the original rotation of the prefab’s parent game object!!! I can’t understand why this is happening?

Can you post a screenshot of your setup in Unity?

hope this helps…

My guess is that you rotated your object first and then parented it - that’s why it doesn’t work.

You have to:

  1. Drop your object into Project View
  2. Add empty game object (at 0, 0, 0)
  3. Parent your object to the empty game object
  4. Rotate/move parent game object to the place where you want to have your object.

Thanks Paulius

I basically, as you suggested, deleted and added everything with no rotation, then parented it with an empty game object and it seems to be fine now, thanks!