About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
Mouse position
Author Message
Harton Offline
Member

Post: #1
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Mouse position
You can't
01-07-2011 11:21 AM
Find all posts by this user Quote this message in a reply
Harton Offline
Member

Post: #3
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
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
Find all posts by this user Quote this message in a reply
Post Reply