agentHeight
The height of the agent for baking in world units.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public float agentHeight { get; set; }
Remarks
NavMesh will be removed from areas with a ceiling lower than this height. The build process does some quantization, so make sure that spaces you intend to be walkable have some extra head room.