Declares object as a navmap.
Disabled object as a navmap.
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.
onLeave are optional listeners which work similarly to
onInteraction - but are called only once at a time.
Forces recalculation of the pathfinding meshes.