Navigation¶
Advanced content
The following section assumes you are familiar with most Traversal concepts.
Both Traverse Links and Traverse Interactive components allow characters to traverse the environment overcoming obstacles, but they require manual activation.
NavMesh Traverse Links¶
Characters using a NavMesh Agent driver can figure out the shortest path towards their target taking into account obstacles and move around the scene avoiding obstacles.
The Traversal module comes with a special component called NavMesh Traverse Link specifically designed to make non-playable characters, such as enemies and allies, traverse the environment automatically by integrating Traverse components in their path-finding algorithm.

Only for Traverse Links
Note that NavMesh Traverse Link components only work with Traverse Links, not Traverse Interactive components, due to their interactive nature, requiring direct input.
In order for characters to take into account Traverse Links as part of their path, all that needs to be done is to add the NavMesh Traverse Link component somewhere and assign the Traverse Link component to it.
One-way links
A NavMesh Traverse Link can only be traversed from the From Position to the To Position. If characters should be able to traverse the obstacle in both directions, add a second NavMesh Traverse Link with both positions swapped.
The Agent Type ID and Area determine the type of agent that can use this Traverse Link as well as the type of area considered.
The Cost Modifier allows you to specify what is the cost of traversing this obstacle. A higher cost will make characters reconsider walking around it while low values may make them more inclined to vault obstacles.
The Auto Update Links checkbox should be toggled if the Traverse Link will change its position at runtime.
The From Position and To Position fields determine what are the start and end positions of the NavMesh Links, in the local space of the NavMesh Traverse Link component.
Touching the NavMesh Surface
Notice that the From Position and To Position must always touch the Navigation Mesh.
They mark where the character should be before starting the Traverse Link, and an approximate point where it will finish.
The Width field allows you to define a range of positions from which the character can traverse the Traverse Link.
Scene View Gizmos
Note that you can visualize the From Position and To Position in the scene view by spotting a white line or plane (if Width is larger than 0) connecting two Navigation Meshes.