API

Class RecastJSPlugin

RecastJS navigation plugin

Implements

Index
bjsRECAST: any = {}

Reference to the Recast library

name: string = "RecastJSPlugin"

plugin name

navMesh: any

the first navmesh created. We might extend this to support multiple navmeshes

  • If delta time in navigation tick update is greater than the time step a number of sub iterations are done. If more iterations are needed to reach deltatime they will be discarded. A value of 0 will set to no maximum and update will use as many substeps as needed

    Parameters

    • newStepCount: number = 10

      the maximum number of iterations

    Returns void