Hello I am looking for solution to split object made from voxels in two parts if they are separated by destruction. For example I have one big object but I destroy something and object should split in to two.
I store data in 3D array, where 1 mean voxel, 0 mean nothing, so I need to 0 as break indicator.
Anyone have any ideas how to solve that?