s&box docs

public sealed struct Sandbox.NavMeshAgent.LinkTraversalData

Holds information about the current link the agent is traversing.

Broader workflow and conceptual references connected to this API.

Properties

Showing 4 properties

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.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.NavMeshAgent.LinkTraversalData

On this page