From point A to B with obstacles in the way