NavMeshDynamicLink
Class in ChivalrousGames.Common / Inherits from MonoBehaviour
Description
Nav mesh dynamic link. Generates off mesh links to use with NavMeshDelimitedBuilder.
Fields
navMeshAgentTypes | List |
The NavMesh agent types for this dynamic link |
navMeshArea | int | The NavMesh area for this dynamic link |
bidirectional | bool | If true, the link can be traversed in both directions; otherwise, only from start to end position. |
costModifier | float | If positive, overrides the pathfinder cost to traverse the link. |
startPosition | Vector3 | Start position of the link. |
endPosition | Vector3 | End position of the link. |
width | float | If positive, the link will be rectangle aligned along the line from start to end. |
Methods
RefreshLink
public void RefreshLink();
Description
Refreshes the link for the NavMesh.
Static Methods
RefreshLinks
public static void RefreshLinks();
Description
Refreshes all the links for the NavMesh.