文档

Unity Engine

Unity Engine

carvingMoveThreshold

Threshold distance for updating a moving carved hole (when carving is enabled).
阅读时间1 分钟最后更新于 1 个月前

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: NavMeshObstacle.carving.