- Home /
Mouse Look Script
Hey, im using the MOuse look script that comes with unity.
I have changed Min and Max Y to 90 to the player can only look up and down.
I want it so the player can only look 90Degrees each way, and it stops them if they go any further. I did that in the preset i changed MinX to -90 and maxX to 90 however it doesn't stop me from turning in a 360 motion.
Can someone tell me how i can do this? Thanks
Answer by QuestionAsker · Jan 22, 2014 at 08:42 PM
I tried to use the MOuse look script. I ended up copying and pasting and making my own. But did you try changing your Z axis? Maybe you have them confused. Pasting the code would help too! :)
Your answer
Follow this Question
Related Questions
Input.ResetInputAxes Doesn't Stop From Moving? 0 Answers
Model made in Blender does not import correctly 2 Answers
I can't create a world border? 1 Answer
C# Cannot Stop Coroutines 1 Answer