- Home /
Lock 1st person controller rotation ?
Yup, as the title says, I want to lock the First Person Controller rotation before I press the Start button, which is in the same scene as the controller. I tried to disable the Mouse Look script attached to a FPC object, but I can still look up and down. In short, I want to tell my character to stay still until I press the Start button. Please help me, thank you very much !
Answer by Mike 3 · May 23, 2011 at 09:00 AM
There's two copies of the script on the first person controller object, disable both of them (Get both with GetComponentsInChildren) and it should do what you want
Answer by Kacer · May 23, 2011 at 09:01 AM
You can make an 'if sentence' around your movement controls that is set to false whenever your menu is enabled, and to true whenever you have the menu disabled.
Your answer
![](https://koobas.hobune.stream/wayback/20220612083102im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Crosshair? How? 6 Answers
how do I move the 1st person controller by dragging the mouse 1 Answer
C# Crouch script problem 1 Answer
Can't get 1st person controller to stay on a platform. 2 Answers
how to use the dual joystick from the prefab and how can i put it in my first person controller? 4 Answers