Disable turning all the way around with player camera

Hello,

I was wondering if there was a way to limit how far the camera can go left and right? I was trying to lock this to simulate realism in the game. You cant turn your head 360 degrees without turning so i was trying to change this.

Anyone know?

I would say just clamp the values you getting for rotation if they absolute, but without actually seeing your setup is hard to advice anything.

does this help any?

233343-setup.png

Can anyone help?