- Home /
Camera rotate - point and click game
Hi all~ I am currently busy making a point and click game where the camera remains still. I want the function where when the player moves the mouse cursor to the top or bottom of the screen to rotate the camera (the camera starts in top down) - I am quite a noob with coding ;) Thanks in advance~
Comment
Answer by adrenak · Jan 12, 2012 at 10:29 AM
Use the MouseLook.js script found here : standard assets>sources>scripts>MouseLook.js . This way the player can rotate the camera vertically up and down when the cursor moces from top to bottom.
Your answer
Follow this Question
Related Questions
Make my camera turn smoothly 2 Answers
How to lock camera angle on key press? 1 Answer
Object rotates with camera 2 Answers
Return Camera Rotation Z axis to 0 2 Answers
Wonky Camera Behaviours 0 Answers