destruction and voxels

I want to make building destruction for my first person shooter game. I heard minecraft and minecraft clones do not have each individual block be separate gameObjects, but rather be part of a single larger mesh block. Then when someone destroys a block, it modifies the mesh. Is it possible to implement a voxel system for pre fragmented buildings? So the building fragments act similar to minecraft ‘blocks’, and when they get hit, they disappear.

If this is possible, I believe it will make it better performance wise so there’s not so many gameObject pieces in the scene.

Sure.

–Eric

can someone give me a more respectable answer?

I would like insight on obstacles I will have to overcome and also how this would differ from minecraft terrain, because from what I get, minecraft blocks are generated by script since they are such basic shapes. However I am using pre built structures from a 3d app and I want to modify their mesh.

an example would be, I have a pre fragmented wall with 4 sections to it. A rocket hits one of the sections, so I want to select all connected polygons from the polygon the rocket hit and delete those.

Here’s a short video that demonstrates what I know so far about modifying meshes in Unity in case it helps. It demonstrates a box extrusion.

going up

You asked a single question in your original post:

And eric correctly answered it. You didn’t ask how, or more, so perhaps you should have used the KISS principle in your post.

Your second post also meanders and veers wildly between almost-questions and vague assumptions, which isn’t helping you. To get clear answers on a forum, you have to ask clear questions, and assume nothing.

Your second post also only asks one question, then veers wildly off into the lands of monologue:

This does not differ in any way as far as unity is concerned, from a minecraft style structure. It still requires voxels, it still requires generating them from a mesh to be efficient. And this is easily answered with a search on the unity forums. If you search well, you will even find full source code for a community minecraft project.

In future when you ask a question, leave the question as the last thing you’ve posted, don’t bang on about it after, or you’ll just drive the reader away thinking you answered your own question for yourself. Like a normal conversation.

I was just looking for some insight and discussion on this issue. I’m sorry if my post was not the best, i’m not perfect. I’ve helped other people on the forums and I try to be as nice and informative as I can. Responding with just one word is rude. I’m not getting much welcome here so I will take my questions somewhere else.

You didn’t ask for any additional insight and you seemed to have an idea as to the issues involved already. Frequently people ask things like “I just want to know if this is reasonable before I spend any real time on it”, and since this seemed to be one of those questions from the info you gave, I didn’t see the need to waste time on unnecessary elaborations. If you’re going to interpret that as “rude” and make a fuss about it, that’s on your end, not mine.

–Eric