Skip to content

Commit de9b5a9

Browse files
authored
Add AstarGrid2D headline to 2D Navigation Overview (#10135)
* Add AstarGrid2D headline to 2D Navigation Overview Resolves #9668 by adding in the request description. This PR adds a short description for AStarGrid2D of its function and use case that was previously missing in the 2D navigation overview page.
1 parent d8be470 commit de9b5a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tutorials/navigation/navigation_introduction_2d.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ Godot provides the following objects and classes for 2D navigation:
1313

1414
The AStar2D class is best suited for cell-based 2D gameplay that does not require actors to reach any possible position within an area but only predefined, distinct positions.
1515

16+
- :ref:`AstarGrid2D<class_AstarGrid2D>`
17+
``AstarGrid2D`` is a variant of AStar2D that is specialized for partial 2D grids.
18+
19+
AstarGrid2D is simpler to use when applicable because it doesn't require you to manually create points and connect them together.
20+
1621
- :ref:`NavigationServer2D<class_NavigationServer2D>`
1722
``NavigationServer2D`` provides a powerful server API to find the shortest path between two positions on an area defined by a navigation mesh.
1823

0 commit comments

Comments
 (0)