Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

public var carvingMoveThreshold: float;
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.