How to limit the vertical rotation of the camera

  • I need the camera to be able to rotate in any direction, but vertically only in a certain range.

clamp it

If you are using add relative rotation to spring arm to do it then this what I did.

after add rotation check what is current pitch, if out of bounds on either side then SET relative rotation to the limit it passed. It worked well for me but I also had to clamp how fast they could rotate by clamp the input in add relative rotation.

I don’t quite understand what set world rotation needs to be connected to

Unreal Camera rotation limit - YouTube

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.