Example of an A* pathfinding algorithm on a hexagonal tiling. Written in Unity 2020.3.25f1 and C#.
- Clone repo
- Start Unity
- Open "HexPathFind.unity" scene file (in the Assets folder)
- Play
- Click a hexagonal tile to switch it between passable/impassable.
- Click a game piece (i.e., the blue or red rectangular prism) to select it. Click on a vacant tile to move the piece to the new tile