Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NavMeshObstacle.carvingMoveThreshold

Switch to Manual
public var carvingMoveThreshold: float;

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.