Skip to content

Allow diagonal but more weight #17

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

Open
spassvogel opened this issue Nov 8, 2020 · 1 comment
Open

Allow diagonal but more weight #17

spassvogel opened this issue Nov 8, 2020 · 1 comment

Comments

@spassvogel
Copy link

Hi there I noticed that the path taken when allowing for diagonals is not always the most 'natural' route. Take the following example:

image

It makes more sense for a person to walk like this.

image

I think there should be a cost involved in taking a diagonal path. What are your thoughts about this? Would you accept a PR along these lines?

relevant: https://stackoverflow.com/questions/845626/how-do-i-find-the-most-naturally-direct-route-using-a-star-a

@dpaola2
Copy link

dpaola2 commented Nov 8, 2020

Just chiming in to say I agree and have noticed the same behavior.

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

2 participants