View Full Version : Melscript

05 May 2006, 12:16 PM
Hai good evening friends

I have a problem in learning commands.

That is i dont know where the "angle" command is used.

If any one can give examples for using angle command it can be easy to use

Thank you

05 May 2006, 02:07 PM
this is in Maya help:

angle <vector> <vector>

This command returns the angle (in radians) between two vectors.


Robert Bateman
05 May 2006, 03:53 PM
$angle = `angle <<1,0,0>> <<0,1,0>>`;

05 May 2006, 04:26 AM
Thanks for the reply friends

I can understand that it returns the shortest angle between the two given vectors.

But i want to know where it can be used.

That is where we can use the angle command in a scene, for eg, if you use "sin" command applied for scale axis and check the the corresponding result.

Like the same, i dont know how to use the angle command in a scene. Is there any examples to use it in a scene, so that i can be easily understand where it can be used in a scene.

CGTalk Moderation
05 May 2006, 04:26 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.