Skip to content

format

typescript
NavMeshAgent.desiredVelocity

class: NavMeshAgent

description

(Read Only) The desired velocity of the agent.

This does not take into account collisions between agents, or collisions between agents and obstacles or boundaries.

parameter

param_nametypedescription

reture

typedescription
Vector3The desired velocity of the agent.

code example