enableNavmap ()


Declares object as a navmap.

disableNavmap ()


Disabled object as a navmap.

registerSurfaceHandler ()

registerSurfaceHandler(surfaceType, handlerClass, onInteraction, onEnter, onLeave)

Registers a new surface handler. Second argument should be a class, not an object. onInteraction is called with default Three ray intersection payload, whenever a dynamic game object touches the surface on Y-axis. See Physics.

onEnter and onLeave are optional listeners which work similarly to onInteraction - but are called only once at a time.

updatePathfinder ()


Forces recalculation of the pathfinding meshes.