Hi, I'm wondering what the range of the mouse position is in the UI. This is in response to the mouse moved event. The lower end is definitely (0,0), but what is the higher end? Is it based on resolution? I'm asking because I'm trying to have the camera follow the point in between the mouse and a unit, but want to use UI positioning instead of global positioning, as global positioning gives me wierd results from my wacky height map and also does not register when the mouse is over the UI.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, I'm wondering what the range of the mouse position is in the UI. This is in response to the mouse moved event. The lower end is definitely (0,0), but what is the higher end? Is it based on resolution? I'm asking because I'm trying to have the camera follow the point in between the mouse and a unit, but want to use UI positioning instead of global positioning, as global positioning gives me wierd results from my wacky height map and also does not register when the mouse is over the UI.