Change transform of a prefab having an animation


I’m trying to solve an issue for 2 days now.
I have a prefab (Jet Plane) with an animation attached to it. I want to rotate the prefab once the animation is done using script. Problem is that I can’t rotate or move the prefab as soon as there is an animation in the animator even if I never called the animation.[36698-capture+d’écran+2014-12-09+à+09.26.54.png|36698]

Flying is never called but can’t rotate the game object Jet Plane using script.
If I delete the state “Flying” or if put no motion on “Flying”, I can move or rotate the game object Jet Plane.

Thanks for any help.


The easiest solution is to put your animated object inside another object and rotate that.