Returns local pose (position and orientation) of a node, relative to its parent.
x, y, z, angle, ax, ay, az = ModelData:getNodePose(node)
Arguments
| Name | Type | Description |
| node | string | number |
The name or index of a node.
|
Returns
| Name | Type | Description |
| x | number |
The x coordinate.
|
| y | number |
The y coordinate.
|
| z | number |
The z coordinate.
|
| angle | number |
The number of radians the node is rotated around its axis of rotation.
|
| ax | number |
The x component of the axis of rotation.
|
| ay | number |
The y component of the axis of rotation.
|
| az | number |
The z component of the axis of rotation.
|
See also