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

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);

• You need to show us your code in context. Is this in Update, LateUpdate, etc? Remember you should always share a Minimal Complete Verifiable Example: enough information about your problem that we can reproduce exactly the issue you're experiencing in a new empty project, so we can test proposed solutions to be sure they actually solve your problem. – DMGregory Jul 12 '19 at 19:11
• It's in Update, sorry I was rushing, and I thought that "next frame" was a good enough implication. Hmm, maybe it should be in LateUpdate? Yes, it was overridden because I didn't set it in LateUpdate. Sorry for nuisance and thanks for guiding me :D – Tudvari Jul 12 '19 at 19:14