A* Pathfinding

How to use this file?

  1. Press Play in Unity Console

  2. Press Read File button from Game View.

This will read the start and end position co-ordinates from the inputData.json file present inside the Assets

  1. Press C on the Game Scene.

This will give you the A* initial path and the Smoothed RDP Heuristic Final Path. Check the final waypoints in the Unity Inspector by Pressing on the GameDataManager game object

To save the final waypoints in outputData.json file click on SaveData option in GameView