Entities

Functions

Entity object <- getEntity (Integer guid | String name)
Get an Entity object by ID or name.

Entity object <- create (String name)
Create a new entity by specifying a name.

Entity object <- create ()
Create a new entity with no name.

Boolean state <- isEntity (Resource object)
Find out if an object is an Entity or not.

Entity object <- enablePhysics (Entity object)
Enable physics simulation on an entity object.

Entity object <- updatePhysics (Entity object)
Update the transform of a physics-enabled entity object.

PhysicalGeometry object <- physicalGeometry (Entity object)
Get the physical geometry of a physics-enabled entity.

PhysicalBody object <- physicalBody (Entity object)
Get the physical body of a physics-enabled entity..