Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var velocity: Vector3;
Vector3 velocity;
velocity as Vector3

Description

The current velocity of the NavMeshAgent component.

Setting the velocity is not constrained by the maximum acceleration.