Wall avoidance AI (SOLVED)

You need to apply a path finding algorithm that can find the shortest path from point A to point B (theory: https://www.wikiwand.com/en/Pathfinding visualization: PathFinding.js) . This is quite easy if your map is tile/grid based. Moku, is a Defold tilemap solution with path finding: Moku, Map utility & auto-tile module

3 Likes