Separate heuristic and physics in path finding