Posted: 14th Jun 2007 16:19
How can I obtain the angles between objects/points? I also own EZRotate which may have a function for this, but I don't fully understand its documentation.
Posted: 14th Jun 2007 17:46
Look through the commands, trigonometric functions are usefull, especially atanfull. I think that is what you want...
Posted: 14th Jun 2007 18:37
Sorry if you didn't understand the EZrotate documentation. Here is the command:

+ Code Snippet
angle# = EZro_AngleBetweenPoints(originX#, originY#, originZ#, point1X#, point1Y#, point1Z#, point2X#, point2Y#, point2Z#)



Lets say you were trying to measure the angle between a chair that was sitting in front of you, and desk that was off to your left.

The command would look like this:
+ Code Snippet
angle# = EZro_AngleBetweenPoints( YouX#, YouY#, YouZ#, ChairX#, ChairY#, ChairZ#, DeskX#, DeskY#, DeskZ# )


The command would basicly draw a line from you to the chair. Then it would draw another line from you to the desk. It would return the angle between those lines.

I hope this helps!
Posted: 14th Jun 2007 20:56
@Mr Kohlenstoff: Thank you.

@Wolf: Thank you. That looks easy enough.