- Home /
Let mouse continue on other side of the screen
When my mouse hits the side of the screen, it stops. Is there a simple option in the Screen
class or something that makes the mouse go to the other side of the screen? So it is a continuous mouse?
I don´t think so. Check this out: http://answers.unity3d.com/questions/9408/set-cursor-position.html
Ok, that's too bad. Strange that Unity does this in their own editor script (changing values with the mouse), but doesn't support it in game.
Answer by nventimiglia · Nov 13, 2013 at 01:40 AM
You could write a script that :
disables the hardware cursor
enables a software cursor
Tracks Mouse movement via raw MouseX / MouseY values
I use something similar from my third person controller.
Your answer
Follow this Question
Related Questions
Detect cursor on edge of screen 1 Answer
Player to look at 0 Answers
prevent mouse from leaving screen 1 Answer
how to make the object position related to the screen 2 Answers
Screen.lockCursor not working? 3 Answers