文档

Unity Engine

Unity Engine

agentClimb

The maximum vertical step size an agent can take.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

Must be less than agent height. This parameter is used to detect sharp discontinuities in the level (i.e. stairs, steps), and allow the agent to pass them.