• Announcements

Archived

This topic is now archived and is closed to further replies.

angles

1 post in this topic

how do you find the angle (in radians) between 2 points? given the coordinates of the two points
0

Share on other sites
You must mean angle formed by point-origin-point? use the dot product. for point a and point b. |a| means length from origin to a.

|a| * |b| * cos(angle) = (ax*bx)+(ay*by)+(az*bz)

those are the 2 different ways to write the dot product. if you have the x,y,z coordinates of the point you can find the length and solve for angle
0