Is there a way to cap the max distance of the calculated path? Imagine turn-based combat where the player can only move 10 units. Is there a way to specify a max distance? I’m using a Grid Graph, though I suppose the question could apply to any graph.
var path = ABPath.Construct(start, hit.point); AstarPath.StartPath(path);