prettymuchbryce/easystarjs

Custom checkAdjacentNode or isTileWalkable

Opened this issue · 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

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