Calculate angle from point to point
#1

Hi,

I'm looking for a way/formula to calculate the angle from a point to another point, relative to the angle of the central point of view.
The coordinates of both points are given.

To clarify what I mean I've made an example image.
In this picture the central point's angle is 0° and the object is at 90° from the central point of view.




In this picture the angle of the central point has changed, but both points have not moved.
The object is now at 45° from the central point of view.



How could I achieve this?

Thanks in advance.
Reply


Messages In This Thread
Calculate angle from point to point - by Thomas. - 27.11.2011, 18:30
Re: Calculate angle from point to point - by Mauzen - 27.11.2011, 20:11
Re: Calculate angle from point to point - by Thomas. - 27.11.2011, 23:55
Re: Calculate angle from point to point - by RepzThat - 28.11.2011, 01:22

Forum Jump:


Users browsing this thread: 1 Guest(s)