ExitArea
Where a scene exit is - see BGE.SceneExits. Subclass it and override contains() for another shape. Positions are read on plane: xz (the default) is the ground in a 3D game, xy a 2D game.
Properties
plane(BGE.SeparationPlane)
Constructor
new ExitArea(): ExitAreaInstance Methods
contains(position: BGE.Math.Vector): boolean
Whether a position (e.g. the player's) is inside.
Parameters
position(BGE.Math.Vector)
Returns
boolean
planeX(position: BGE.Math.Vector): float
protected
Parameters
position(BGE.Math.Vector)
Returns
float
planeY(position: BGE.Math.Vector): float
protected
Parameters
position(BGE.Math.Vector)
Returns
float