CreateNode()

Syntax

Result = CreateNode(#Node [, x, y, z])
Description
Creates a new node at the specified position.

Parameters

#Node A number to identify the new node. #PB_Any can be used to auto-generate this number.
x, y, z (optional) The absolute position in the world of the new node. By default the new node is created at position "0, 0, 0".

Return value

Nonzero if the node was successfully created, zero otherwise. If #PB_Any was used for the #Node parameter then the generated number is returned on success.

See Also

FreeNode()

Supported OS

All

<- AttachNodeObject() - Node Index - DetachNodeObject() ->