Hello, I’m currently working on a system to basically achieve what voxel destruction physics has. What I need is help with the voxel system, I’ve seen a few methods using octrees and tried, but the issue with those is if they aren’t uniform size they will just become smaller and smaller rectangles. When I finish I will also release the system as a thank you to this community! i’m relatively new to coding in lua-u and I’m very thankful for anything ya’ll post!
I’m not really sure how to reply to this, but you can follow what Shatterbox did by split a part into 8 parts, then 4, then 2, it a mix of mod-Octree and KD-tree and I think don’t need to build it from a scratch and I don’t think there anything wrong with using someone else’s code I was too lazy to make my own subdivision, so I just grab Shatterbox subdivide code.