|
Post by commended on Aug 30, 2017 9:42:07 GMT
The title is pretty self explanatory. I have a camera that rotates about object with mouse, however if I start the project with my mouse in the corner my mouse movement (therefore my camera movement) is limited. So I've come to the conclusion that the way to fix this would be by setting the mouse to the centre of the screen upon startup. Any idea on how to achieve this, or any alternate methods?
|
|
|
Post by GH Games on Aug 30, 2017 14:19:53 GMT
Edit:
Tin answered below, I forgot about the iMouseLookSet method, haven't used rad in a while
|
|
|
Post by TinSoldier on Aug 30, 2017 16:04:57 GMT
Have you looked at the script reference ?
if(iInitializing()){ iMouseLookSet(0.0f, 0.0f); } In a full screen game the mouse is centered on project start, in windowed mode it isn't.
If you plan to allow full screen use be sure to add a mouse sprite to your project or the player won't see a project mouse.
|
|