easystarjs
easystarjs copied to clipboard
Custom checkAdjacentNode or isTileWalkable
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?
I've also run into this issue, did you manage to solve it?
Switched to https://github.com/restimel/dynamicAstar