Feature request: "Lazy" versus "Pre-emptive" cornering
First, thanks for the great library. I am currently using it in my game it is working exceptionally well.
One feature that would be very useful for me is some kind of Enum to specify how a resulting path is determined when there are a number of suitable paths of equal cost. For instance, having a "lazy" flag would mean that the "player" is reluctant to turn corners, so the path is more likely hit a wall before making a turn.
Alternatively, is there a way to return an array of all suitable paths that have the equal smallest cost(in which case it could be up to the user code to choose which path is the most suitable)? Perhaps result.alternatives?
Edited by Jack Lee