Fully-functional pathfinding