Armature's bone can't be rotated in Unity when I'm trying to rotate its chest toward its looking direction?

by Tudvari   Last Updated July 12, 2019 19:13 PM

I want to rotate my character's chest, so its looking direction will be visualised correctly.

But I think that the animation controller doesn't let me.

I logged its rotation before and after I set it, and after setting, it's correct, but next frame before I would set it, it's always snapped back.

How could I make my character's animation transformed, based on its looking direction?

This is the code:

Debug.Log(Chest.localRotation.eulerAngles);
Chest.localRotation = Quaternion.Euler(90, 90, 0);
Debug.Log(Chest.localRotation.eulerAngles);


Related Questions


Calculate animation weights based on two variables

Updated April 15, 2019 06:13 AM


Bones are rotated wrong direction on play mode

Updated August 27, 2018 17:13 PM