AttachNodeObject()
Syntax
AttachNodeObject(#Node, ObjectID)Description
Attachs an existing object to a node.
Parameters
#Node The node to use. ObjectID The object to attach. The supported objects are the followings: - Entity : use EntityID() as 'ObjectID'. - Sound3D: use SoundID3D() as 'ObjectID'. - Camera : use CameraID() as 'ObjectID'. - Light : use LightID() as 'ObjectID'. - Node : use NodeID() as 'ObjectID'. - Mesh : use MeshID() as 'ObjectID' (supported only if #PB_Mesh_Dynamic flag is set). - BillboardGroup : use BillboardGroupID() as 'ObjectID'. - ParticleEmitter: use ParticleEmitterID() as 'ObjectID'.
Return value
None.
Remarks
An object can be detached from a node with DetachNodeObject().
See Also
DetachNodeObject()
Supported OS
All