- Home /
Restricting camera movement in first person camera?
Heya UnityAnswers,
I've got a First Person Controller in my scene that will be following an empty game object to lead the player through the level. Since I didn't want the player to move around themselves in this bit I've set all the max movement speed too zero but now I want to set the camera so the player can not turn their head all the way round so from left too right they only have 180* of turning (like in real life)
I though it'd be in the Mouse look script setting the Min/Max of the X, but setting them to anything makes no difference to the control of the camera.
In short, how do I restrict the camera so the player can't look behind them?
Thanks ahead!
Your answer
Follow this Question
Related Questions
Minecraft-like arms 1 Answer
Need help with simple RayCast Attack script 1 Answer
An instance of type (Script) is required to access non static member (Script) 1 Answer
Checkpoint script? 1 Answer
Show FPS when key press 1 Answer