|
When I use Screen.lockCursor, it locks the cursor but moves it to the center of the screen. How do I lock it at its current position?
(comments are locked)
|
|
As far as I am aware, you can't. Oh. What I'm doing exactly is keeping the cursor locked on an object when you hold down the right mouse button. The problem is that you can still move off of it, and if I lock the cursor, it moves to the center and doesn't work properly.
Aug 24 '11 at 03:24 AM
Rsan
You can just draw your own cursor, and move it by tracking the relative movement of the mouse (even though its hidden and locked).
Aug 25 '11 at 12:32 AM
Talimar
(comments are locked)
|
