updateUpAxis
Allows you to specify whether the agent should be aligned to the up-axis of the NavMesh or link that it is placed on.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool updateUpAxis { get; set; }
Remarks
When this value is set to true, the agent will always be aligned to the local up-axis of the NavMesh or link that it is currently on. When set to false, the agent’s orientation is unaffected by the orientation of the NavMesh.