Struct AgentOffMeshLinkTraversal Extends IComponentData

Public

Holds unmanaged information about an off-mesh link that the agent is currently traversing.

This component is added to the agent when it starts traversing an off-mesh link. It is removed when the agent has finished traversing the link.

Public Variables

firstPosition

The start point of the off-mesh link from the agent's perspective.

Public
isReverse

True if the agent is traversing the off-mesh link from original link's end to its start point.

Public
secondPosition

The end point of the off-mesh link from the agent's perspective.

Public