Files
godot-demo-projects/2d/navigation_astar
Hugo Locurcio 649360f17e Fix FPS-dependent movement in Navigation AStar demo (#1227)
Previously, the way in which the spaceship steered depended
on the rendered framerate.

This moves ship movement to the physics step to avoid this, and
enables physics interpolation for smooth motion.
2025-10-01 19:55:07 -07:00
..
2025-03-21 02:00:41 +01:00

Grid-based Navigation with AStarGrid2D

This is an example of using AStarGrid2D for navigation in 2D, complete with Steering Behaviors in order to smooth the movement out.

Language: GDScript

Renderer: Compatibility

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2723

Screenshots

Screenshot