A* Pathfinding Project

Hi @CodeMonkey ! I’m thinking of using the a* pathfinding project from the asset store. Do you have a quick tip on how would we integrate it with the existing grid?

1 Like

One of the Graph Types that it has is a Grid System just like the one used in the course, so the simplest way is to use that with the exact same size as the Grid System.
Just with that it should automatically define all the Walkable/Unwalkable areas since it works the same as the course, it does a Raycast
After that you just need to look up the functions for manually changing a grid position and call that when destroying a Crate or opening a door.

3 Likes

Thanks! It’s a very interesting topic.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms