Scripting API

NavMeshHit

struct in UnityEngine.AI · UnityEngine.AIModule

5 of 5 of Unity's membersUnity's documentation

Properties 5

float distance { get; set; }
bool hit { get; set; }
int mask { get; set; }

The area mask bit of the surface hit.

Vector3 normal { get; set; }
Vector3 position { get; set; }