#Looking for online resources for the AStarGrid2D Class.

2 messages · Page 1 of 1 (latest)

grand light
#

I am having trouble getting paths from my AStarGrid2D in my project, and the only resources I have found are the documentation and this YouTube video https://youtu.be/QRr_P_uqz8w. I was wondering if anyone has any other information about AStarGrid2D that I could find helpful. Thanks!

New to Godot 4, the AStarGrid2D class makes solving grid-based layouts a lot easier than the existing AStar2D class while also adding some performance improvements and control for how that pass is found.

Basic usage: 00:00
Customizing the heuristic: 01:26
Using diagonals: 02:24
Jumping: 02:58

Text version: https://shaggydev.com/2022/12/19/godo...

▶ Play video
#

Also, my problem with the AStarGrid2D is that get_id_path() and get_point_path() both return an empty array