Character Rotating with Camera Error

Hi everyone, something weird happen to me for the first time and I can not figure out what I did wrong or what am I not doing right. I have my character rotate with the movement and rotation of the camera, it works fine with the x axis. However when I rotate the camera up along the Y axis the character full body is rotating with it. For an example, I rotate the camera up the character rotate with and his whole body is facing the sky and when I face the camera down his whole body is facing the ground. I would highly appreciate it if you guys could help me out.
Thank you in advance.

It sounds like you are applying the rotation to the root component of your actor regardless of the direction of rotation. Perhaps you made your camera the root component.

What did you want to happen?

I would have thought you would want:

  • camera yaw to rotate root component yaw in the world (to let the entire character physically turn left and right relative to its forward vector)
  • camera pitch would be applied to the character’s head’s relative rotation in local space ( head tilts up and down)
  • and of course there is no camera roll

Thanks for the help. Yeah maybe I did apply rotation to the root component of my actor instead of the camera so trying to see if I can fix it now. I’m trying to have just the camera move around as I’m rotating it with mouse or gamepad thumbstick and have the character rotate with the camera but only with the X axis.

if you use the Third Preston starter pack and haven’t changed anything in the character’s settings, then you only need to check one
alt text

Yeah you’re right and that’s a good point.

The problem was that in the detail panel of my character under the pawn section. I had the box “Use Controller Rotation Pitch” active. Thanks again for your help guys.