normal
Normal of the polygon edge where the query terminates.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public Vector3 normal { get; set; }
Remarks
The vector points towards the inner side of the last NavMesh polygon that the query traverses.
If the query terminates inside a polygon, and is therefore not blocked by an edge, the normal is Vector3.zero.
Note: None of the query methods returns the normal of the polygon itself.