easystarjs icon indicating copy to clipboard operation
easystarjs copied to clipboard

How to get the shortest path

Open msdog opened this issue 3 years ago • 4 comments

image

msdog avatar Sep 10 '21 09:09 msdog

? it always gives shortest path unless weights are used

aJamDonut avatar Sep 11 '21 07:09 aJamDonut

As the arrow shows, he took a detour

msdog avatar Sep 11 '21 07:09 msdog

image

I want to get results like the green line

msdog avatar Sep 11 '21 07:09 msdog

+1, I need this too, even simpler actually, a straight-line from A to B that ignores any kind of terrain. Probably has something to do with the heuristic in use, and currently there's no way to change it...

BernardoMariano avatar Nov 22 '21 15:11 BernardoMariano