Say I have an object (robot, guy, etc.) facing left.
I want him to appear "alive", so I play an "idle" animation where he stands there and be-bops, waiting for user input.
Now I press RIGHT - I play the animation of turning to the right. So far, so good...
Next, I set the object to spin to the right self.set_rotation(Vector3(0,deg2rad(180),0))
Finally, back to playing the idle animation in the animation player.
HERE'S THE PROBLEM:
Since the "idle" animation was created (in blender) facing LEFT, as soon as the animation player starts playing the "idle" animation, he's facing left again, not right as he should be.
QUESTION:
How do I rotate an object (around the Y) axis with an animation playing? Because it appears the animation player overrides anything you set in your scripts.
Thanks in advance for the help!