ModelData:getNodePosition

Returns local position of a node, relative to its parent.


x, y, z = ModelData:getNodePosition(index)

Arguments

NameTypeDescription
indexnumber The index of the node.

Returns

NameTypeDescription
xnumber The x coordinate.
ynumber The y coordinate.
znumber The z coordinate.

x, y, z = ModelData:getNodePosition(name)

Arguments

NameTypeDescription
namestring The name of the node.

Returns

NameTypeDescription
xnumber The x coordinate.
ynumber The y coordinate.
znumber The z coordinate.

See also