Yonaba / Jumper

Fast, lightweight and easy-to-use pathfinding library for grid-based games
http://yonaba.github.io/Jumper
MIT License
617 stars 124 forks source link

Find closest path to destination #65

Open Rogeman opened 2 months ago

Rogeman commented 2 months ago

It would be useful if the pathfinder would return the closest path possible to the destination in the case where the destination is not reachable.

Currently if a path can’t be found the function returns nil