Problem with head/camera rotation

Hi,

i tried to solve my problem on my own, used google and the search in answerhub. I just can’t get an answer. Hope you can help me!

Problem: While not moving (use controller rotation yaw=0) i want my firstperson character to turn only his head and not the body. I got my camera bound to a bone socket in the head. It works not like it’s supposed to. If i look to the right, then start moving (use controller rotation yaw=1) the body and camera are facing the correct direction but the head is still in his ‘look-over-right-shoulder’-mode. So camera and head bone are not sync. anymore. This is just an example and works for every direction the same wrong way. Any idea?

[Picture 1: Save player rotation in the variable ‘mouse rotation’]

[Picture 2: Set head movement in Animation Graph]

[Picture 3: Strange result of head movement after running → I’m looking down but the head looks the opposite way]

[Picture 4: Anim Graph settings for ‘Tranform (modify) Bone’]