format
typescript
NavMeshAgent.stoppingDistanceclass: NavMeshAgent
description
Set the stopping distance for the agent.
When the distance between the agent's position and the target position is less than or equal to this value, the agent will stop moving.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The stopping distance for the agent. |
