- Home /
Pathfinding in Destruction
Hey all!
I'm considering making a destruction system where walls and other objects can be chipped away at via explosions or gunfire and eventually entire structures can be demolished. I've done work on a similar project before however came to a bottleneck with floating objects. I was thinking of making a system that references all the adjacent fragments and apon the destruction of one will search for a connection to the ground by searching for a path through the adjacent fragments. What is the best way to go about this?
Which pathfinding system are you using? Built-in or something from the asset store, or a custom solution?
Nothing yet thats the idea, I want to build a system that looks for a path from each destructible piece to the ground. If there is no path then the object will fall
I'm afraid your question is far too broad in scope, then. If you had a working pathfinding system, then you could go from there, but since you don't I can't see how this question could be answered.