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.

NavMeshAgent.obstacleAvoidanceType

Switch to Manual
var obstacleAvoidanceType: ObstacleAvoidanceType;
ObstacleAvoidanceType obstacleAvoidanceType;
obstacleAvoidanceType as ObstacleAvoidanceType

Description

The level of quality of avoidance.

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.