- Home /
How to change default FPS controller to rotate when mouse is at end of screen
Does anyone know how or where I can change the default FPS controller so that you can move the mouse up/down within the confines of the current screen (I.e. the camera won't follow mouse and go up / down) & also change the camera on when to roate to left / right.
In my case I want the mouse to act like a flashlight where you can move it all around the player's screen and the won't jolt around everywhere following the cursor / mouse.
The only time the camera will follow the mouse is when the cursor goes to the edge of the screen (Left / Right) once it reaches within range of the edge then it will start to rotate the player.
How do I do this?
Your answer
Follow this Question
Related Questions
Problems with Gyroscope VR Car Game 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Camera following player but looking at another object unity c# 1 Answer