Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


obstacleAvoidanceType

The level of quality of avoidance.
Read time 1 minuteLast updated 12 days ago

Definition

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

Remarks

This property lets you trade off the precision of obstacle avoidance againt the processor load required to achieve it. The exact quality/performance values will depend heavily on the complexity of the Scene but as a general rule, faster performance can be achieved at the cost of quality and vice versa.