Entity
An entity is the base class for all "things" in 3D space. A light is an entity. So is a model. An entity has a position, rotation, and scale. It can be parented to other entities, or be the parent of a child entity.
Because all entity classes like meshes, lights, etc., are extended from the base entity class, the same positioning and rotation commands below can be used on all 3D objects in the engine.
Subclasses
Constants
- number LocalAABB
- number GlobalAABB
- number RecursiveAABB
- number RigidBodyPhysics
- number CharacterPhysics
Members
- Vec3 position
- Vec3 rotation
- Vec3 scale
- Mat4 mat
- Entity parent
Functions