Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


carveOnlyStationary

Should this obstacle be carved when it is constantly moving?
Read time 1 minuteLast updated 10 days ago

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 _carving for full description of different carving behaviors.