Hi, I was testing a simple 3d game this morning, trying to learn the ropes of Unity5.
I noticed that when i do
Vector2 mousePos2D = Input.mousePosition;
print (mousePos2D.x);
print (mousePos2D.y);
On a 1920x1080 monitor I am getting coordinates on top left of (-1441, 1057), and on bottom right (478, -22).
While this does add up to 1920x1080, I am used to the origin being on the top left (0,0). Is there a way to reset the origin to the top left? Am I doing something wrong in the first place?
Please help!
*As an update, just to make sure, I ran a .NET program to tell me my mouse cursor position, and it reported top left at 0,0, and bottom right at 1919,1079. So it isn’t my PC, it is something going on in Unity.