easystarjs icon indicating copy to clipboard operation
easystarjs copied to clipboard

Custom checkAdjacentNode or isTileWalkable

Open Josema opened this issue 4 years ago • 2 comments

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

Josema avatar Aug 23 '19 08:08 Josema

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

TomYeoman avatar Apr 10 '21 21:04 TomYeoman

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

Josema avatar Apr 11 '21 09:04 Josema