Add Room.findPath option to not generate the default CostMatrix?



  • On the first call to my callback in a tick, I modify the CostMatrix and save it for re-use in future calls in that tick. I don't need or want to waste CPU to populate a new default CostMatrix each time I call it. I'd love an option to avoid that.


  • Dev Team

    Looks like PathFinder.search method is more suitable for your use case then, since it doesn’t generate a CostMatrix by default.