"MousePointerLock::MovementX()" returns the distance the mouse cursor moves, not the angle.Therefore, it is not a suitable value for the "Rotate toward angle" action. Using the "Rotate" action instead might work.