PDA

View Full Version : Melscript


arunspooja
05-09-2006, 01: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

Stucky
05-09-2006, 03:07 PM
this is in Maya help:





angle <vector> <vector>


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



-S

Robert Bateman
05-09-2006, 04:53 PM
$angle = `angle <<1,0,0>> <<0,1,0>>`;

arunspooja
05-10-2006, 05: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-10-2006, 05: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.