Skip to content

Commit 5798bf2

Browse files
authored
Merge pull request #7447 from smix8/navlink_location_4.x
Fix NavigationLink doc using old property names
2 parents d410ace + 837ac94 commit 5798bf2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tutorials/navigation/navigation_using_navigationlinks.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Using NavigationLinks
55

66
.. image:: img/nav_navmesh_links.png
77

8-
NavigationLinks are used to connect navmesh polygons from :ref:`NavigationRegion2D<class_NavigationRegion2D>`
8+
NavigationLinks are used to connect navigation mesh polygons from :ref:`NavigationRegion2D<class_NavigationRegion2D>`
99
and :ref:`NavigationRegion3D<class_NavigationRegion3D>` over arbitrary distances for pathfinding.
1010

1111
NavigationLinks are also used to consider movement shortcuts in pathfinding available through
@@ -15,7 +15,7 @@ interacting with gameplay objects e.g. ladders, jump pads or teleports.
1515
:ref:`NavigationLink2D<class_NavigationLink2D>` and
1616
:ref:`NavigationLink3D<class_NavigationLink3D>` respectively.
1717

18-
Different NavigationRegions can connect their navmeshes without the need for a NavigationLink
18+
Different NavigationRegions can connect their navigation meshes without the need for a NavigationLink
1919
as long as they are within navigation map ``edge_connection_margin`` and have compatible ``navigation_layers``.
2020
As soon as the distance becomes too large, building valid connections becomes a problem - a problem that NavigationLinks can solve.
2121

@@ -26,17 +26,17 @@ See :ref:`doc_navigation_connecting_navmesh` to learn more about how to connect
2626

2727
NavigationLinks share many properties with NavigationRegions like ``navigation_layers``.
2828
NavigationLinks add a single connection between two positions over an arbitrary distance
29-
compared to NavigationRegions that add a more local traversable area with a navmesh resource.
29+
compared to NavigationRegions that add a more local traversable area with a navigation mesh resource.
3030

31-
NavigationLinks have a ``start_location`` and ``end_location`` and can go in both directions when ``bidirectional`` is enabled.
32-
When placed a navigationlink connects the navmesh polygons closest to its ``start_location`` and ``end_location`` within search radius for pathfinding.
31+
NavigationLinks have a ``start_position`` and ``end_position`` and can go in both directions when ``bidirectional`` is enabled.
32+
When placed a navigationlink connects the navigation mesh polygons closest to its ``start_position`` and ``end_position`` within search radius for pathfinding.
3333

3434
The polygon search radius can be configured globally in the ProjectSettings under ``navigation/2d_or_3d/default_link_connection_radius``
3535
or set for each navigation ``map`` individually using the ``NavigationServer.map_set_link_connection_radius()`` function.
3636

37-
Both ``start_location`` and ``end_location`` have debug markers in the Editor.
37+
Both ``start_position`` and ``end_position`` have debug markers in the Editor.
3838
The visible radius of a position shows the polygon search radius.
39-
All navmesh polygons inside are compared and the closest is picked for the edge connection.
39+
All navigation mesh polygons inside are compared and the closest is picked for the edge connection.
4040
If no valid polygon is found within the search radius the navigation link gets disabled.
4141

4242
.. image:: img/nav_link_debug_visuals.png

0 commit comments

Comments
 (0)