the crowd parameters
The agents in the crowd.
The NavMesh the crowd is interacting with.
The NavMeshQuery used to find nearest polys for commands
Adds a new agent to the crowd.
Destroys the crowd.
Returns the number of active agents in the crowd.
Gets the agent for the specified index, or null if no agent has the given index.
Returns the maximum number of agents that can be managed by the crowd.
Returns all the agents managed by the crowd.
Gets the query filter for the specified index.
the index of the query filter to retrieve, (min 0, max 15)
the query filter
Steps the crowd forward in time with a fixed time step.
There are two modes. The simple mode is fixed timestepping without interpolation. In this case you only use the first argument. The second case uses interpolation. In that you also provide the time since the function was last used, as well as the maximum fixed timesteps to take.
The fixed time step size to use.
OptionaltimeSinceLastCalled: number
The time elapsed since the function was last called.
OptionalmaxSubSteps: number
Maximum number of fixed steps to take per function call.
the navmesh the crowd will use for planning