기술 자료

Unity Engine

Download Unity

Unity Engine

carveOnlyStationary

Should this obstacle be carved when it is constantly moving?
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

When this property is enabled, the obstacle will carve a hole only when it is stationary. There will be no hole carved when the object is moving. See NavMeshObstacle.carving for full description of different carving behaviors.