Added pathfinding on a sphere.