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.

NavMeshObstacle.carvingMoveThreshold

public float carvingMoveThreshold;

Description

Threshold distance for updating a moving carved hole (when carving is enabled).

If the NavMeshObstacle has moved a distance shorter than the threshold since last carving then the navmesh will not be updated.

See Also: carving.