- Home /
Camera Z axis rotation locked
I was using a script for a quake style tilting camera, that wasn't working. I noticed that if I turned on "Smooth" in the mouse look settings it worked (a bit). I soon realised that the camera has the Z axis rotation locked somehow, unless smooth is activated, so I assume its a line of code that must be altered. I have little to no scripting knowledge, and was hoping someone could help me find what exactly in the code I have to change.
The camera is the default first person character in the unity standard assets, and the camera tilt code is here: https://gamedev.stackexchange.com/questions/129706/how-do-i-make-a-quake-style-camera-tilt-in-unity if you need the code for the camera I guess I can do that, but its harder for me to put it here than it is for you to find it yourself
thanks for any help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613024657im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Ship rotate to look at over time 1 Answer
How do I make a camera stay after rotate it with lerp? 0 Answers
How to move my weapon to new camera? 0 Answers
Move/Rotate Camera using device's gyroscope/accellerometer 1 Answer
Mouse Look Help 2 Answers