Archived

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

Toast

angles

Recommended Posts

grady    122
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

Share this post


Link to post
Share on other sites