- Home /
Can anyone recommend an A* hex grid pathfinding tutorial - or script?
I'm looking to set up basic movement for my player object, allowing six-way directional movement on a hexagonal grid. I'm not sure if pathfinding is the best way, but I'm looking at it as an option. I'd like to be able to automate the movement for point-and-click as much as possible - that would make building an AI for a grid-based game simpler.
I've already looked at Angry Ant's solutions and not really sure that it can be used for a grid. Another solution used Linq, which broke under Unity.
Linq works fine in Unity... What problem did you have?
Answer by Maulik2208 · Nov 29, 2012 at 07:09 AM
Not sure But Check on unitygems.com ....i have seen a* pathfinding tutorials over there
The tut on Gems covers A* Pathfinding on a normal grid - but could be adapted for hexagons.
ya mike.....but one can get idea by that so i suggested that stuff.......
No - that's fine - I was just pointing out it could be adapted (and as I wrote that tutorial - thanks very much for the plug!)
i know that $$anonymous$$ike you are working on unitygems.....Such a good work ....very useful for beginner like me....
Your answer
![](https://koobas.hobune.stream/wayback/20220613084652im_/https://answers.unity.com/themes/thub/images/avi.jpg)