prettymuchbryce / easystarjs

An asynchronous A* pathfinding API written in Javascript.
MIT License
1.9k stars 165 forks source link

Possibility to define for each tile which directions are allowed. #73

Closed fabiocaccamo closed 5 years ago

fabiocaccamo commented 5 years ago

I would like to set allowed directions for each tile, to force desired path and not the shortest path.

fabiocaccamo commented 5 years ago

I solved it using getDirectionalCondition, could you document it a little bit better?