Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


autoBraking

Should the agent brake automatically to avoid overshooting the destination point?
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public bool autoBraking { get; set; }

Remarks

If the agent needs to land close to the destination point then it will typically need to brake to avoid overshooting or endless "orbiting" around the target zone. If this property is set to true, the agent will brake automatically as it nears the destination.