Maybe R0J0hound can help
I am making a survival game, with buildings and i want them to be destructable. I am wondering how I would group together blocks, and then when a peice of that group is disconnected from the rest of the worlds blocks, all associated blocks are destroyed
example:
------------------------------------------------------
OOOOO
OOOOO
O
OOOOOOOO
-this is before disconnection
-------------------------------------------------------
OOOOO
OOOOO
OOOOOOOO
-the connecting block is destroyed
------------------------------------------------------
OOOOOOOO
-the all disconnected blocks are destroyed
------------------------------------------------------
I really need help. I've spent the last two days trying to figure this out. I would really like a really in depth explanation, or maybe even a capx, Any help is appreciated. Thanks!