A link between two positions on NavigationRegion3Ds that agents can be routed through.
A link between two positions on NavigationRegion3Ds that agents can be routed through. These positions can be on the same NavigationRegion3D or on two different ones. Links are useful to express navigation methods other than traveling along the surface of the navigation mesh, such as ziplines, teleporters, or gaps that can be jumped across.
Whether this link can be traveled in both directions or only from start_position to end_position.
Whether this link is currently active. If false, NavigationServer3D.map_get_path() will ignore this link.
Ending position of the link.
This position will search out the nearest polygon in the navigation mesh to attach to.
The distance the link will search is controlled by NavigationServer3D.map_set_link_connection_radius().
When pathfinding enters this link from another regions navigation mesh the enter_cost value is added to the path distance for determining the shortest path.
Starting position of the link.
This position will search out the nearest polygon in the navigation mesh to attach to.
The distance the link will search is controlled by NavigationServer3D.map_set_link_connection_radius().
When pathfinding moves along the link the traveled distance is multiplied with travel_cost for determining the shortest path.
Returns the end_position that is relative to the link as a global position.
Returns the start_position that is relative to the link as a global position.
Sets the end_position that is relative to the link from a global position.
Sets the start_position that is relative to the link from a global position.