Checking Godot's source to confirm suspicion about AStarGrid2D

259 days ago by Marcos Donnantuoni (@marcos_don)
Share this post:

In this video I fix another routing bug, related to Godot's AStarGrid2D algorithm. Sometimes one makes assumptions about the behavior of an engine's feature that are simply incorrect. In that case, it helps that the engine is open source!

Comments

Log in with itch.io to leave a comment.

(1 edit)

This is interesting and I think you should make an issue if you have the time. I have a completely different use-case in my point and click game, where sometimes if you dig the player into getting themself stuck, they still try to walk to the point even though they are standing on a non-navigable tile. This causes them to jitter back and forth endlessly until you unstick them. I was stumped on why this happened but I think this answers it!

Thanks for sharing! Interesting. So perhaps more people have this issue... I'll try to make the report today.

I found out other person raised the same issue:
https://github.com/godotengine/godot/pull/86983