Im using the default third person BP, There are two cameras (1- Default follow camera, 2- FPS Camera) for my character. I have this combat mode(with Aimoffsets) , and if it is initiated by pressing a key the follow camera switches to the FPSCamera. I want to control the Yaw Limit for the FPS Camera since it rotates 360 in all directions.
I have tried some limitations for the Pitch for InputAxis LookUp, I’ve attached an image below.
The ‘Min’ and ‘Max’ values will need to be adjusted by you for what is right but that should give you a 90 degree view (45 in either direction) from the camera’s default rotation value.
EDIT One thing that may not be obvious is what I pulled off the “Camera” reference was “GetRelativeRotation” and then I right-clicked the blue output pin and selected “Split Struct Pin” to break out the Pitch Yaw and Roll values.
Hope this helps! If it does, please consider accepting the answer by clicking the check mark located under the arrows next to the answer. If done correctly, the answer will highlight green! Thanks!