Skip to content

format

typescript
NavMeshAgent.autoBraking

class: NavMeshAgent

description

Whether the agent automatically stops when reaching the destination.

If this value is false, the agent may overshoot the destination and turn back when its movement speed is high.

parameter

param_nametypedescription

reture

typedescription
booleanWhether the agent automatically stops when reaching the destination.

code example