node object is a container with a transform applied to it.attachments which can be either model objects or light objects.type string: The class type of the object. A node will always have this defaulted to "node".scene scene object: The scene object that the node will be parented to.name string: The name of the node.transform array: The transform object representing the position and rotation of a node.attachments array: The attachment categories the node object can have.attachments.models array: The model objects attached to the node.attachments.lights array: The light objects attached to a node.attachments.bodies body object: The body objects attached to a node.node object is easily done by passing in an array.
LGE.Node({
scene = myScene,
name = "myNode"
})
Node:destroy()
Node:destroyAttachment(attachment [object])
Node:getModel(name [string])
Node:getLight(name [string])