|
I'm making a mouse look script and the only thing wrong with it is the cursor. I know you can use Screen.lockCursor to lock it but I have know idea how to put it in the center of the screen. Thats it, I just want to know how to force the cursor in the center of the game window. Thanks
(comments are locked)
|
|
Screen.lockCursor is a combination of hiding the cursor (Screen.hideCursor) and setting it in the middle of the screen. So it already does what you want :). I'm not away of a way to do it any other way. A problem I have actually been having myself is that it seems it's not possible to directly alter the mouse's position other then using lockCursor.
May 02 '11 at 01:19 AM
Joshua
(comments are locked)
|
