Description
Gets the X, Y or Z coordinate of the position of the specified node.
Syntax
PositionX.f = UBE_GetNodePositionX( Node.i [, Mode.i]] )
PositionY.f = UBE_GetNodePositionY( Node.i [, Mode.i]] )
PositionZ.f = UBE_GetNodePositionZ( Node.i [, Mode.i]] )
Parameters
Node | The number of the node. |
Mode | One of following constants:
#UBE_PARENT | The returned position is in the parent coordinate system. | #UBE_LOCAL | The returned position is in the local coordinate system. | #UBE_WORLD | The returned position is in the world coordinate system. |
The default mode is #UBE_WORLD .
|
Return value
The value (float) of the X, Y or Z coordinate of the position.
See also