# Blowing Holes In Walls!

Is There A Way To Make An Object Dent And Break? Like A Wall? Because I Want To Be Able To Blow The **** Out Of My Wall! So Is There A Way? And How Do I Do It?

Stop asking these incredibly complex question before doing no research yourself!! This, once again is a deformable body physics problem. Probably to CPU intensive to do in realtime anyways. You could easily add an animation of the wall that makes in crack, and trigger it on collision. That isn’t nearly as realistic.

With all the question you ask, you should focus on one, and finish it. You’ll feel a sense of accomplishment.

Well bronxbomber has a point, but I value your enthusiasm. In exchange for providing this link, I want you to tell us how old you are, and what you feel youre good at…Ok? Honestly…

http://forum.unity3d.com/viewtopic.php?t=2177&highlight=manipulation

I used it for my explosivo entry. Well my extended week that was a complete and utter waste of time entry.

http://www.unifycommunity.com/contests/explosivo/Targos/ExplosivoUB.zip

But you know…

I do wonder where elias got to…
AC

Btw, you do realize the same method Yoggy gave you for the “jello” object can be applied here.

Umm…THANKS!!!

Dynamically destructible environments ala fracture are obviously hard, but how about using the damage receiver script in the fps tutorial and swap out your blown up wall when the whole one receives enough damage to “die”?

Another approach might be to make an object that has one flat rectangular face, like a brick and all other sides rough and lumpy, like rubble. Attach a box collider + rigidbody to this object and make many copies. Then, simply stack them up to make a brick wall with the flat surfaces facing outward and the rubbly bits hidden “inside”. The blocks should stack neatly because it is the shape of the box collider rather than the geometry that controls the physics behaviour.

When this wall is struck lightly, it will probably stay upright but the bricks will shift. When it gets hit hard enough to fall down, the rough rubbly surfaces will become visible and it will look as though the wall has broken into bits.