Greetings ,in one of my tests with Pathfinding i've hit a brick wall when i intended to get exact readings on the paths that were generated. To be specific i was in need of these aspects:
- Total path cost
- Id or other info of cell's which were chosen as a part of planted path
In my futile attempts i came up with idea which probably would solve this problem by creating Sprite objects (lines) in between root Nodes generated by Pathfinder and later go through entierty of cells of Tilemap placing another Sprite and checking it on overlap with previously created Sprites(lines) as was suggested in this topic however this is a really grueling task and thus i was wondering if there any alternative solutions for my problem.
I would really appreciate any ideas.