Is there a way to get a relative angle between 2 objects?

Is there a way to get a relative angle between 2 objects?
Something like:

https://dl.dropboxusercontent.com/u/14940709/imgs/angle_example.png

I know I could use cos or sin to get each angle, but then I would have to get the distances of 6 vectors, so is there a more efficient way to get a relative angles without having to do each one individually?

Dont know if this is what you want but test this


(Vector1 - Vector2):Angle()

The last angle always returns 0, though

That’s because there is no roll between two objects.

-snip-

Oh you meant the roll angle >.<

Ya what maker wrote…

Right… OK. Thanks, timpo!