The DZ function returns the z-direction location of one marker or the distance between two markers in relation to a third marker’s z-direction.
Format
Arguments definition
Marker1 |
The name or argument number of a marker to be calculated |
Marker2 |
The name or argument number of a marker to be calculated • If omitted, then the InertiaMarker is applied. |
Marker3 |
The name or argument number of the reference marker that will serve as the standard for direction • If omitted, then the InertiaMarker is applied. |
Formulation
: Position vector of Marker1
: Position vector of Marker2
: z-direction unit vector of Marker3
Example
DZ(body1.Marker1)
DZ(body1.Marker1, body2.Marker1)
DZ(body1.Marker1, body2.Marker1, body3.Marker1)
DZ(1,2,3) <Argument: (1)body1.Marker1, (2)body2.Marker1, (3)body3.Marker1>