[Pathfinding] Now works with an obstruction map.