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

isReverse

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

Public
relativeEnd

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

Public
relativeStart

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

Public

Deprecated Members

firstPosition

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

Public
secondPosition

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

Public