Skip to content

format

typescript
NavMeshAgent.velocity

class: NavMeshAgent

description

The current velocity of the agent.

Takes into account changes in speed and direction caused by collisions between agents, agents and obstacles, and agents and boundaries. Read-only.

parameter

param_nametypedescription

reture

typedescription
Vector3The current velocity of the agent.

code example