genius

Player entity that is attached to the view; used for first person and third person games. This entity will be completely clipped away when the view is within its bounds (first person mode). All entities that have their parent pointer set to the genius will be clipped away also. If the view is outside the genius' bounds, the genius and its childs become visible (third person mode).

Type:

ENTITY*

Remarks:

Example:

camera.genius = me; // current entity invisible inside view range 		

See also:

VIEW, parent

► latest version online