Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NavMeshAgent.radius

public float radius;

Description

The avoidance radius for the agent.

This is the agent's "personal space" within which obstacles and other agents should not pass.