You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add an option which works out the shortest path but ignores the presence of closed doors when working that distance out? I want to try and make a pathfinding system which allows tokens to move to a closed door, open it, move through, and then close it behind them.
The text was updated successfully, but these errors were encountered:
Your module idea sounds pretty fun and your proposal is certainly doable. It should be extremely simple to build into the gridless routing (it's probably enough to change a few lines of code). I'll have to look at how much would need to be changed to make it work in the gridded routing, since that component is likely to rely on foundry for collision testing. If so, then there would need to be a way in foundry to perform a collision check that ignores closed doors - otherwise a big chunk of code would need to be reimplemented to make this work.
I guess whether I'll implement your enhancement idea depends on how much code that could be re-used from foundry has to be re-implemented in routinglib to make it work.
Would it be possible to add an option which works out the shortest path but ignores the presence of closed doors when working that distance out? I want to try and make a pathfinding system which allows tokens to move to a closed door, open it, move through, and then close it behind them.
The text was updated successfully, but these errors were encountered: