Returns the first angle of rotation (in radians) associated with a body-fixed 321 rotation sequence from one coordinate system marker to another. This angle is referred to as the yaw angle, and is used in association with the pitch (2nd rotation) and roll (3rd rotation) angles.
Positive angular displacement is determined by the right-hand rule.
Format
YAW (To Marker, From Marker)
Arguments
To Marker | (Required) The coordinate system marker whose rotation is being measured. |
From Marker | (Optional) The coordinate system marker with respect to which the rotation is being measured. If you don't specify this argument, it defaults to the global coordinate system. |
Example
The following example returns all the angles of rotation associated with a body-fixed 321 rotation sequence:
There are always at least two equivalent sets of rotation angles that yield the same final orientation. Using the above example, the same final orientation can be achieved by using any of the following sets of rotation angles.