Sign in to follow this  

Angle between two objects (3d)

Recommended Posts

Original post by alvaro
Take the scalar product of the two vectors, divide by the lengths of both vectors, take the arccosine.

Actually, this is pretty much a definition of angle.

ie the Dot Product

angle = acos((U.V)/(Magnitude(U)*Magnitude(V)))

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this