- Home /
How to make Camera unable to move, in Mouse X
OK. I wanna have a birds eye view of my character, which I've done, but now have to make sure the camera can't rotate in 'mouse x'. it only moves to follow the character. imagine watching a fight from above, that's the best way I can explain it.
can you please help me make the camera unable to rotate in 'mouse x'??
Answer by Berenger · Jan 30, 2013 at 09:23 AM
In your code controlling the camera, simply don't move (or rotate, not sure which) on x when the situation requires it. Sound to me like you're only parenting the camera to the player, you could disable the mouse script.
TAN$$anonymous$$S BUT I FOUND OUT HOW, turn the x stuff in the inspector to 0
Your answer
![](https://koobas.hobune.stream/wayback/20220613091839im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
transform.RotateAround acting strange 1 Answer
Make player face same direction as camera. 4 Answers
Limiting the rotation to 180 degrees 0 Answers
Multiple rotate with mouse 2 Answers
Rotate Player with Camera rotation 2 Answers