You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of the Grid class, we need another kind of collection helper which can get the parent neighbor nodes. The current Grid only works for 2D Array so this A* pathfinding cannot be used for Open Street map for example or hexagonal maps.
Maybe someone has an idea how to replace the Grid with NodeCollection class and implement different kinds of neighbor detection algorithm?
Instead of the Grid class, we need another kind of collection helper which can get the parent neighbor nodes. The current Grid only works for 2D Array so this A* pathfinding cannot be used for Open Street map for example or hexagonal maps.
Maybe someone has an idea how to replace the Grid with NodeCollection class and implement different kinds of neighbor detection algorithm?
Here for example https://en.wikipedia.org/wiki/Adjacency_list
The text was updated successfully, but these errors were encountered: