Original Post
I have a xbox 360 controller and want to take the 2d coordinate that represents the current thumbsrick orientation, and make a rotation matrix that will rotate a sprite on the screen to face the same way as the thumbstick. The coordinate ranges for the thumbstick are -1.0 to 1.0 for both X and Y. For whatever reason, this is stumping me, and I'd like to know how to do it. If I could convert the point into radians, it would solve my problem too, but I can't figure out how.... Thanks