Harton
Member
|
Mouse position
After last update changes in Mouse class have been made. We cannot set position of cursor using old way. Right now we are able to ONLY get Mouse::pos(). How to set position?
|
|
01-07-2011 10:35 AM |
|
Esenthel
Administrator
|
RE: Mouse position
You can't
|
|
01-07-2011 11:21 AM |
|
Harton
Member
|
RE: Mouse position
Sorry but lets imagine situation when we want use cursor in center of screen as targeter... Right now we are forced to reproject and reimplement whole targeting system to one in which u use (?) 2d gui obejct which (?) is casted on 3d world or woot?
(This post was last modified: 01-07-2011 12:29 PM by Harton.)
|
|
01-07-2011 11:34 AM |
|
Esenthel
Administrator
|
RE: Mouse position
if you want center of the screen just use Vec2(0,0)
there's also Ms.clip and freeze to limit mouse movement
|
|
01-07-2011 03:07 PM |
|