mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
18 lines
584 B
Markdown
18 lines
584 B
Markdown
# Navigation Polygon 2D
|
|
|
|
Example of using 2D navigation using a
|
|
[`NavigationPolygon`](https://docs.godotengine.org/en/latest/classes/class_navigationpolygon.html)
|
|
in a [`NavigationPolygonInstance`](https://docs.godotengine.org/en/latest/classes/class_navigationpolygoninstance.html) node.
|
|
It uses the 2D navigation API to request a path between two points,
|
|
and then traverses the resulting path.
|
|
|
|
Language: GDScript
|
|
|
|
Renderer: GLES 2
|
|
|
|
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/117
|
|
|
|
## Screenshots
|
|
|
|
![Screenshot](screenshots/navigation.png)
|