T, Q and S Values
When you set or retrieve translation (T), quaternion rotation (Q) and scaling (S)
values separately for a Node or an Effector, each of these values is stored in an
array of four numbers, with the following significance:
Translation values:
| array index
|
description
|
| 0
|
Translation along the X axis.
|
| 1
|
Translation along the Y axis.
|
| 2
|
Translation along the Z axis.
|
| 3
|
Translation along the W axis. When you set the translation value for a Node or an Effector, HumanIK always uses 0.0 for this value. When you retrieve the translation value from a Node or an Effector,
HumanIK always writes 0.0 in this value.
|
Quaternion rotation values:
| array index
|
description
|
| 0
|
X component of the quaternion.
|
| 1
|
Y component of the quaternion.
|
| 2
|
Z component of the quaternion.
|
| 3
|
W component of the quaternion.
|
Scaling values:
| array index
|
description
|
| 0
|
Scale along the X axis.
|
| 1
|
Scale along the Y axis.
|
| 2
|
Scale along the Z axis.
|
| 3
|
Scale along the W axis. When you set the scaling value for a Node or an Effector, HumanIK always uses 1.0 for this value. When you retrieve the value value from a Node or an Effector, HumanIK always writes 1.0 in this value.
|