Open stefanhendriks opened 3 years ago
Pathfinding not always finding a path, even though there is one.
Ie, played Skirmish mission (Cliffs of Rene), AI was at top right. Refinery was at top right (next to map border). Harvester was unable to find path.
In short, need to test this more, iron out any bugs.
Get some inspiration from: https://github.com/SFTtech/openage/blob/master/libopenage/pathfinding/a_star.cpp
Pathfinding not always finding a path, even though there is one.
Ie, played Skirmish mission (Cliffs of Rene), AI was at top right. Refinery was at top right (next to map border). Harvester was unable to find path.
In short, need to test this more, iron out any bugs.