Game Development Community

Destructable Buildings

by Jamal Moon · in General Discussion · 02/27/2008 (4:21 pm) · 7 replies

I was wondering how you would make buildings that can fall apart. For example, I shoot the side of a building and then there would be a hole. If the hole gets big enough, the part right above the hole will start to lose balance and collapse. How would I do this?

Thanks in advance, Jamal.

#1
02/27/2008 (4:27 pm)
Well, you could use a brick system like Blockland's, but that's probably different than what you want.

There was a thread a while ago... lemme find it... well, I can't find it. But it talked about destructable buildings. Maybe someone else will remember it. It talked about a system of supports, like all the "pieces" below a bunch of others get destroyed, so they all fall apart.
#2
02/27/2008 (5:49 pm)
Just a suggestion, but since there is a resource out there for polysoup objects, you could always make your buildings as polysoup objects, since they are DTS object they can be setup to explode.

Like I said, just a suggestion.
#3
02/28/2008 (5:09 pm)
@ Fredulus
BlockLands isn't exactly what I'm looking for, but it's kinda similar. I couldn't find any threads about destructable buildings as well. "It talked about a system of supports, like all the "pieces" below a bunch of others get destroyed, so they all fall apart." That's basically what I want.

@ Ron
Noob Question - What is polysoup?
#4
02/28/2008 (7:37 pm)
Wow thats a long explanation coming there. You really should search the forums and look for Ben Garney's stuff on it. Basically it replaces the DTS collisions system where collisions are no longer based upon a simple invisible collision box, but the actual visible polys of the object.
#5
02/29/2008 (7:18 am)
Jamal,
I think what your asking about would be more along the lines of a physics system. If ya do a search you can find quite a bit of information about incorporating physics into torque but, its alot of code changes.
#6
03/01/2008 (8:14 pm)
I looked it up and it said it works for TGEA not TGE. Would it work for TGE anyways?
#7
03/01/2008 (9:15 pm)
www.garagegames.com/mg/forums/result.thread.php?qt=72400
It works, i got it integrated into 1.5.2. though apparently somewhere someone has the updated files ready to be dropped into torque, but i couldn't find them. Someone was kind enough to email me those files.