- Home /
Camera Rotation
Hello there guys,
I am making a 3RD person game and I am using the standar MouseLook script that came with the first person controlller, I allready have my own animated model and a camera with a pivot at the right place, but the only thing I need to change is that the MouseLook script is only enabled when I hold the left alt key. if you could just give me an edited version of the mouselook script then I would be very happy, thanks alot!
Answer by prof · Nov 15, 2013 at 09:46 PM
Just add
if (!Input.GetKey(KeyCode.LeftAlt)) return;
as first line of Update() function in your mouselook script
Your answer
Follow this Question
Related Questions
Rotation always changing values! 1 Answer
Screen.lockCursor messes my rotation 1 Answer
"Perfect" Free Rotation Method? (like Blender) 2 Answers
Third person camera; player rotation. 1 Answer
Mouse Orbit snapping issues 0 Answers