Skip to main content

NavMeshLinkData

Used for runtime manipulation of links connecting polygons of the NavMesh.

Members

Properties

NameDescription
NavMeshLinkData.agentTypeIDSpecifies which agent type this link is available for.
NavMeshLinkData.areaArea type of the link.
NavMeshLinkData.bidirectionalIf true, the link can be traversed in both directions, otherwise only from start to end position.
NavMeshLinkData.costModifierIf positive, overrides the pathfinder cost to traverse the link.
NavMeshLinkData.endPositionEnd position of the link.
NavMeshLinkData.startPositionStart position of the link.
NavMeshLinkData.widthIf positive, the link will be rectangle aligned along the line from start to end.

Constructor

NameDescription
NavMeshLinkData()Create new NavMeshLinkData

Extra Detail

A typical use case is to connect different navigation meshes.