Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected route #191

Open
chings228 opened this issue Jan 29, 2021 · 1 comment
Open

unexpected route #191

chings228 opened this issue Jan 29, 2021 · 1 comment

Comments

@chings228
Copy link

i used A* with diagonal true

In the absence of wall , the route is perfect

Screenshot 2021-01-29 at 9 04 28 AM

but if the wall pattern look like the following pic , i can't get the expected result like the absence of wall

Screenshot 2021-01-29 at 12 45 33 PM

@ghost
Copy link

ghost commented Apr 9, 2021

allowDiagonal only allows the algorithm to cross a single corner hence dontCrossCorners. If you want your expected behavior, see #157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant