API Referenceglobal
LinkTraversalDataclass
Holds information about the current link the agent is traversing.
object→LinkTraversalData
Properties4
Showing 4 properties
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.AgentInitialPosition { get; set; }
The position at which the agent entered the link.
public Sandbox.NavMeshLink Sandbox.NavMeshAgent.LinkTraversalData.LinkComponent { get; set; }
The Link component that the agent is traversing. May be null if the agent is traversing a link created without a NavMeshLink component.
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.LinkEnterPosition { get; set; }
The start position of the traversal. Depending on the direction traversing, this is either LinkComponent.WorldStartPositionOnNavMesh or LinkComponent.WorldEndPositionOnNavMesh.
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.LinkExitPosition { get; set; }
The end position of the traversal. Where the agent should exit. Depending on the direction traversing, this is either LinkComponent.WorldStartPositionOnNavMesh or LinkComponent.WorldEndPositionOnNavMesh.
No results match this filter.