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

Custom checkAdjacentNode or isTileWalkable #72

Open
Josema opened this issue Aug 23, 2019 · 2 comments
Open

Custom checkAdjacentNode or isTileWalkable #72

Josema opened this issue Aug 23, 2019 · 2 comments

Comments

@Josema
Copy link

Josema commented Aug 23, 2019

In my game, I have two types of obstacles. Walls and Units/soldiers. Units can be diagonally crossed, but walls can't. So I have to implement my own checkAdjacentNode or isTileWalkable to allow these two types of elements.

Any ideas of how to do that with the current API?

image

@TomYeoman
Copy link

I've also run into this issue, did you manage to solve it?

@Josema
Copy link
Author

Josema commented Apr 11, 2021

Switched to https://github.com/restimel/dynamicAstar

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