I was having trouble drawing a simple ray until I noticed something very strange...
After checking MouseState.MiddleButton (or any button) the X, Y mouse coordinates change!
For example:
MouseState ms = Mouse.MouseState()
if (ms.MiddleButton == ButtonState.Pressed)
{
// Do something
}
// ms.X and ms.Y might be (0, 0) at this point, but if you check Mouse.GetState().X/Y you might see (203, 481) or something extremely different.
Anybody know what is causing this?