Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


carvingMoveThreshold

Threshold distance for updating a moving carved hole (when carving is enabled).
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public float carvingMoveThreshold { get; set; }

Remarks

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