How can I make my camera not go past my shoulders?

If I turn my head in game I can see my head and my camera can go 360 degrees how can i make it that you can only look past your shoulders?

Clamp it’s rotation values to the rotation you want. For example, set clamp a min of -40 and a max of 40 on the Yaw axis. Assuming the camera is attached to the character it will move with the character but when you attempt to rotate the camera separate of the character, it’s rotation won’t go below or above what you clamp.

Hope this helps! If it does please do me a favor and accept the answer by clicking the check mark located under the arrows next to the answer. You’ll know you got it right when the answer highlights green! Thanks!

To clamp you want to drag the camera in and then drag off it and choose clamp angle

You can also move your mesh back or the camera forward or change the field of view or move the camera higher. Lots of different ways to go about this.Is it a custom mesh? A picture of the viewport would help.

Thanx I got it!

Make sure you select the best answer so it shows up when people search.