I want my character rotate his upper body and head towards my camera direction, I caculate the final rotation should be in BP, then use Transform(Modify) Bone function to achieve this by multiplying a float to control each bone’s final rotation.
My uncontrolled character stands strangely:
Caculate total body rotation every anim update:
Modify bone rotation in animation graph:
-
You will note that there is a RotationAjuster variable in my TurnBody method : it’s default value is 0.01, witch keeps the value of BodyRotation changing or else the rotation error will occur even if the character is controlled(Actually, when my character stands very closing to a wall or other pawn and value of BodyRotation is no longer change, this rotation error occurs).
-
Now, This error occurs every time when the editor is started and disappears after playing about 2 times.
-
Maybe this is a bug, if not , please do tell me what causes it and how to solve it, thank you very much for your help!


