- Home /
is there a way to break a wall realistically?
i want to make it so when a bomb goes off or a missle hits a wall the wall crumbles and breaks in a realistic matter. Is there a C# script that an break a single cub into smaller pieces or something cause i don't want to replace my wall with smaller cubes thats not real.
Answer by TaigaStudios · Jul 06, 2010 at 10:47 AM
You could try accomplish something like this: Youtube/Destroyable buildings in Unity
He accomplished it by using this method
Quote genetichell "
-Take boxes and add rigidbody & a joint to them.
-set the joints breakforce to something different from "infinity"
-put it all together and test it. "
Answer by Tetrad · Jul 06, 2010 at 12:53 AM
Sure but it's probably not worth the effort. Even most AAA games use the trick of removing chunks of wall behind a particle cloud and spawning in generic wall chunks with physics in its place.
They only recently added that kind of feature to Unreal Engine not too long ago: http://udn.epicgames.com/Three/FractureTool.html
They did yes. Honestly the hardest part about all the games that do that is the content creation part. If you look at some of the developer videos they put out there was a lot more data that went into those buildings that are destructible than just the model itself.
Answer by Gary · Jul 06, 2010 at 01:48 AM
Well you dont have to use cube shapes, replace the wall with wedge shaped objects, and then have them all fly off at different angles and with different rotation when bomb goes off ... i wish I knew of a script that does all this for you in realistic manner, please post back here if you find one :)
Your answer
Follow this Question
Related Questions
Possible Fall Damage OnCollisionEnter Won't Work! 0 Answers
How do I simulate a tsunami wave? 6 Answers
2D 360 degress platformer example needed 0 Answers
How to I calculate damage when using AddExplosionForce? 0 Answers
Help with 2D Hit Detection! 0 Answers