I am attempting to rotate a rigidbody (in 2D, I’m using the 2D Toolkit) to point at my mouse location. The rigidbody will be located at the center of the screen, and I have the angle of the mouse relative to the screen center, but I haven’t been able to find any good suggestions on how to figure out how to get the relative angle of the rigidbody.
I have done some pretty extensive Google searching on this topic and have not found anything helpful thus far.
Any thoughts?