I have a monster that has a pathfinding behavior. I want once I add a wall that block the way, and pathfinding behavior can't find path, destroy the wall.
Any help would be highly appreciated.
Develop games in your browser. Powerful, performant & highly capable.
There should b an option in the actions of pathfinding that says "on pathfinding failed" or something like that, that you can use to trigger such thing
Agreed (on failed to find path) trigger event.