The DX function returns the x-direction location of one marker or the distance between two markers in relation to a third marker’s x-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 a marker to be calculated • If omitted, then the InertiaMarker is applied. |
Formulation
: Position vector of Marker1
: Position vector of Marker2
: x-direction unit vector of Marker3
Example
DX(body1.Marker1)
DX(body1.Marker1, body2.Marker1)
DX(body1.Marker1, body2.Marker1, body3.Marker1)
DX(1,2,3) <Argument: (1)body1.Marker1, (2)body2.Marker1, (3)body3.Marker1>