Hi,
Trying to find a mouse look type script but with the cursor positioned in the centre of the screen at all times for eg the cursor is in the centre, i move mouse up, the view will look up just like my character is tilting his head back to look up but the cursor doesnt move.
Darren.
Just add the mouse look script you have in your standart assets to one of your cameras, and attach a cursor to the camera that will always be in the center of the screen… The mouse look will move the camera, but the cursor will always move with the camera.
Unless you want the actual mouse cursor (the one you use in windows or OSx) to remain in the center of the screen at all times… Which is not currently possible. You can hide it and display your own wherever you want.
Can’t you change the mouse cursors position? If so then you can by taking screen size height and width and dividing it by 2
Negative. Mouse position is read only. Why rez a 2.5 year old thread to ask a question? Do people have a fear of creating new forum threads lately?
Why do people make dumb assumptions. I was asking a question to lead to an answer to his question. If you can change the mouse cursor that is a way to center it. I used that with another Language oriented game engine. So if you could that would of answered his question. Getting answers and giving answers are the reason we have forums. Well part of the reason. I was able to use that method to keep my mouse pointer in the center in another game engine so I knew if it was possible to do in this one that it would work. The only thing I didn’t know was if it was possible hence the question that would lead to a possible answer to his concern. Please think before you comment.