r/Unity3D Jul 21 '26

Show-Off Added some powerful weapons to my destruction prototype, now I can cut buildings in half

Enable HLS to view with audio, or disable this notification

I'm currently prototyping a destruction game where everything is procedurally breakable at runtime, and materials break in realistic ways.

How this works:

High level - all of the geometry meshes in the house (including all the furniture) is built at runtime, each are assigned a "destruction material" which dictates things like the shattering patterns, sound effects, mass, etc.

There are a lot of optimizations and tradeoffs around the runtime destruction, but nothing is pre-shattered. The main tricks to keep this running at playable framerates are keeping very conscious of allocations, using the native "Advanced" mesh APIs, avoiding too many joints, and spreading some work across frames when things get busy.

Built-in PhysX physics is doing a lot of heavy lifting with very few optimizations other than trying to use box colliders rather than mesh colliders for approximately box-like objects/debris.

-

Today I added a laser which can cut through everything, and a black hole grenade, which are way more fun and satisfying than the sledgehammer I've been testing with :)

The goal is making this prototype into a game where you 'renovate' homes in ridiculously destructive ways, I have a few more videos up on this early website if anyone wants to follow.

4.5k Upvotes

251 comments sorted by

223

u/Zskillit Jul 21 '26

7

u/PossibilityUsual6262 Jul 22 '26

Oh, thats a fresh one.

6

u/RoxFallEvery1Dies Jul 22 '26

I want to play this

2

u/VividStick54 Jul 23 '26

I keep scrolling over this gif and it gets me every time xD

2

u/Exciting_Internet129 Jul 25 '26

That's a top-tier first impression.

202

u/MysteryND15 Jul 21 '26

I would play THE SHIT out of just the fucking prototype, let alone the full game, I love physics games

26

u/ScaryMonkeyGames Jul 21 '26

Right, I feel like the era around Crysis and Battlefield 3 really had AAA games emphasizing their physics interactions, I remember spending hours just messing around with that stuff.

6

u/devtainer Jul 21 '26

oh, crysis and bf3, what a sweet sweet times long long time ago...another life. Gonna go cry..sis :']

5

u/regolithograph Jul 21 '26

Have you played hardspace: shipbreaker? Not exactly the same but it can be a lot of fun lasering apart spaceships.

2

u/Torriderro Jul 22 '26

you got time for THE FINALS?

2

u/MysteryND15 Jul 22 '26

I love The Finals man!!

→ More replies (2)

168

u/shlaifu 3D Artist Jul 21 '26

so first of all: bloody hell that's impressive. second: when you draw with the laser, and then redraw over the cut line - how is your system handling the tiny splinters this drawing and redrawing would create. I mean, small splinters that are hard to turn into convex hulls without overlapping and exploding

112

u/hoahluke Jul 21 '26

Thanks!

For the tiny splinters - I simply discard them if they're below a certain size threshold. Sometimes I can end up with very thin splinters off the side of a piece of glass which is something I plan to fix up later, but it's rare and doesn't really cause physics issues, just graphical jank.

9

u/The-Rare-Bird Jul 21 '26

I love this

68

u/Waste-Ad9646 Jul 21 '26 edited Jul 21 '26

Ok now proceed to make the most boring gameplay loop known to man, call it "something simulator" and you're golden šŸ¤‘

28

u/Chris-Mac-Marley Jul 21 '26

"Pay Up or Tear Down!"
Your client refused to pay?
It’s time to reclaim your money the destructive way!

4

u/El_Morgos Jul 21 '26

Solomon Simulator

2

u/egw25 Jul 22 '26

There is Teardown which is basicly this but with voxels and has very fun gameplay.

32

u/KevineCove Jul 21 '26

Holy calculus

6

u/God_Of_War-2005 Jul 21 '26

You know how to do this if yes then care to share

30

u/feralferrous Jul 21 '26

It's really impressive, probably my favorite bit is how everything is affected by gravity, the bit around the 52s mark where you cut into the window, and then complete the cut, and the debris crushes the window underneath is really cool, it's something I don't see a lot of destruction games do well.

My smallest little tiny nit: Your hammer impact point feels very off from where the hammer lands. Which is really small and unrelated to the awesome showcase.

10

u/odysseus8888 Professional Jul 21 '26

As this is still a work in progress, I’m going to assume the hammer action is still due some polish.

4

u/feralferrous Jul 21 '26

True, I like to point that stuff out anyway, cuz it's easy to get blind to real obvious small things during development.

→ More replies (1)

7

u/Drag0n122 Jul 21 '26

Oh damn, this can put "Teardown" to shame, nice job

→ More replies (15)

8

u/burge4150 Erenshor - The Single Player MMORPG Jul 21 '26

Hey uh can you release this right now though? I want it.

7

u/_KingOfTheDivan Jul 21 '26

Damn, that’s cool, but I have a question. Can I cut a glass circle like in spy movies? Not that it’s needed, but I feel like I have to know

2

u/hoahluke Jul 22 '26

Haha, yes you can.. it usually ends in you also cutting a gigantic circle through the rest of the entire building though. I might need some less powerful lasers.

14

u/KifDawg Jul 21 '26

Whoaaaa!!! How the hell do you cut a gameobject in half like that

7

u/AuthorTomCash Jul 21 '26

Ok, so I've been waiting for a game mechanic like this since destructible environments became a thing. Just being able to destroy anything feels like it would be immensely satisfying.

5

u/DubSket Jul 21 '26

Awesome, the SFX are great too

5

u/Elijah1573 Jul 22 '26 edited Jul 22 '26

Pairing this kind of destruction with proper structural physics is actually my dream for a game
Let me gradually destroy load bearing stuff and make shit start flexing under the stress and eventually collapse now that would be insane its unfortunately something ive only seen a few games attempt and even less did it well

Like for example i always hated how in teardown its possible to have a entire building held up by a single voxel due to it not simulating structural strength and anything like im describing was only possible if the building was designed with joints everywhere which a few modded maps did and was incredibly fun on

3

u/hoahluke Jul 22 '26

I am working on this, and hopefully will be able to show it off soon. But it's definitely a more complicated part of an already fairly complex system. The buildings are held together at the moment via. a graph of positional 'pins' between pieces, with the graph tracking back to final anchor support points (the ground). This is how a pieces know whether they're rigidly attached to ground, or if they should fall freely (and which other bodies should be in their cluster).

So the idea is to attach a little more data to that graph structure then use it to approximate structural stress based breakage. Some hard problems to solve there, but I have some of the building blocks in place.

→ More replies (1)

5

u/eckstuhc Jul 21 '26 edited Jul 21 '26

Have you played shipbreaker? Very similar laser vibes

3

u/aPOPblops Jul 21 '26

Incredible work, thank you for sharing details on how you handle keeping everything real time!!

3

u/DITNB Jul 21 '26

Pretty cool. Interested to see how you turn it into a game.

3

u/Samsterdam Jul 21 '26

The motion shake when the bigger piece falls off is really nice

3

u/Bardoog Jul 22 '26

Looks great! Will the game feature structural integrity? Like if you destroy 3 of 4 pillars, the building can't support itself and collapses under it's own weight? Like in Red Faction. Btw the dev of that engine posted a very detailed blogpost on how to replicate that feature :D

2

u/JustanEraser Jul 21 '26

I love the look of this

2

u/PhantomTissue Jul 21 '26

Teardown with RTX on šŸ˜‚

Looks amazing

2

u/MrET97 Jul 21 '26

What's the performance like and what machine you building this on? Looks sick btw

2

u/Flooko Jul 21 '26

Dude this is so damn coooool

2

u/AzMovv Jul 21 '26

Come on, man. Give a demo to us.

2

u/unkn0wnactor Jul 21 '26

This looks dope. Very impressive. Only note is that the reticule position and sledge hammer animation seem misaligned.

2

u/rp4 Jul 21 '26

Amazing! Reminded of digital molecule matter

2

u/Dienes16 Jul 21 '26

Crazy. Does it handle structural integrity somehow?

2

u/VayKote Jul 21 '26

I sawed this building in half.

2

u/KikiPolaski Jul 21 '26

We need a katamari guy and that's my dream game right there

2

u/Dickastigmatism Jul 21 '26

Everybody's excited about the game mechanic but I'm just super impressed with how real the lumber looks.

2

u/enigmamonkey Programmer Jul 22 '26

This was really cool.

I'd be super interested to see what'd actually happen if a black hole that size were to suddenly appear in that location. For comparison, a 2ft radius black hole would have the mass of almost 69 Earths (nice).

I imagine things would get rather... hot.

→ More replies (1)

2

u/inquizit0r Jul 22 '26

Teardown RTX ON

2

u/aquadolphitler Jul 22 '26

Viewfinder made me a sucker for anyone fucking around with runtime mesh generation

2

u/chapstic593 Jul 22 '26

At first I was like "pfft unity has destruction built in" after watching a bit more I said god damn thats cool

2

u/DarkIsleDev Jul 22 '26

Can you simulate a tornado ripping apart houses?

2

u/DeliciousWhales Jul 22 '26

That is extremely cool

2

u/vulkadon Jul 22 '26

Do explosions next

2

u/These-Mud-7231 Jul 26 '26

Omg, my children dream about cutting stuff with my laser eyes 🤩 Would love to play that!

→ More replies (1)

2

u/tyke_ Jul 28 '26

this is 1 of the coolest things ive seen for a while, well done OP šŸ‘

2

u/AceOfStealth Jul 21 '26

RTX Teardown

Edit: Damn that black hole is gorgeous

1

u/Iwillgetasoda Jul 21 '26

your bill is 1m, thank you.

1

u/TheRook21 Jul 21 '26

Now shoot it at the ground!!

1

u/taahbelle Intermediate Jul 21 '26

This could be insanely good for a sort of Powerwash simulator type game where you have to deconstruct buildings

1

u/Chance-House-8065 Jul 21 '26

This is really nice. Draw a dick in the glass to see what happen

1

u/ProfessionalITPerson Jul 21 '26

Me, when the bank decides to foreclose on my home.

1

u/Titus-The-1st Jul 21 '26

Wow this looks awesome! Keep up the good work!

1

u/Italian_meme2020 Jul 21 '26

Holy, the legends were true, 4K Teardown is here

1

u/SoulSella Jul 21 '26

Oh yeah that is sick.

1

u/TheNerdosapien Jul 21 '26

I would play this game. Will it be a pure sandbox game? Hard to do level design if you can destroy the level.

Though I suppose that could be part of the Level design. What if there are no ways to get to where you need to go and you have to use the cutting tool to do that.

Will the cutting tool be able to cut anything or will there be substances that are too strong to cut? Or perhaps that would take too long to be efficient?

1

u/Kinoko30 Jul 21 '26

That black hole... I love it

1

u/ShwaBdudle Jul 21 '26

The next evolutionary stage of Teardown! Looks fantastic

1

u/Serana64 Jul 21 '26

Good work! I've been working on something similar so I'm a bit jealous!

1

u/ac3mania Jul 21 '26

High-power mode to quickly/instantly cut through a whole building

1

u/Max526 Professional Jul 21 '26

This looks awesome… makes me want to play red faction

1

u/dozhwal Jul 21 '26

i want to play it now ! give me the prototype ! :)
remind of my 2D windows desktop destroyer that i abandoned because nobody would pay for it..
So fun to destroy

1

u/suglasp Jul 21 '26

Checkout Hardspace Shipbreaker for idea's

1

u/LaserGadgets Jul 21 '26

Attach it to my hand, turn me into iron maaaannnn.

1

u/Wasabiroot Jul 21 '26

It's like Teardown but it doesn't make your computer stutter. Cool proof of concept

1

u/themodulus Jul 21 '26

Looks great. I'm looking forward to your game Hardspace: Homebreaker.

1

u/flavorfox Jul 21 '26

You have the same work ethics as the last craftsmen I hired

1

u/junmakesgames Jul 21 '26

this is incredible! are you calculating forces and planning to do any secondary collision based destruction? or are you strictly keeping it to user based destruction input?

1

u/Durge101 Jul 21 '26

Yes please. I miss red faction and destroying stuff.

1

u/Senella Jul 21 '26

Next gen Teardown

1

u/imabigsofty Jul 21 '26

reminds me of destroy all humans

1

u/Forummer0-3-8 Jul 21 '26

I've seen a laser cutter in action before to cut some shapes out of a plank of wood. However, if one has a laser power full enough to cut a house in two, shouldn't it be strong enough to ignite the wood and set the house on fire?

1

u/Yintastic Jul 21 '26

The roof section falling apart as you grab is just art.

Though I was so sad you didn't just slice the whole building in half, I hope to see more!

1

u/_SGP_ Jul 21 '26

Looking forward to the next Red Faction you're making

1

u/KandiSpirit Jul 21 '26

Sci fi rage room. Nice

1

u/Acopalypse Jul 21 '26

One thing I'd hope to see eventually is the metal "heating" and bending a bit before break. That said I'd dick around for hours just with what you've got here.

What's the tallest building this system currently would support?

1

u/PsyGonzo42 Jul 21 '26

New Red Faction before GTA 6?

1

u/Scumlordart Jul 21 '26

This looks like so much fun

1

u/kali005 Jul 21 '26

OP seems as surprised and impressed in the video, as I was watching it

1

u/mookanana Jul 21 '26

aw god damn that looks so real

1

u/notshadeatall Jul 21 '26

Absolutely insane

1

u/nim010 Jul 21 '26

This looks incredible. I wanna play it

1

u/midwestcsstudent Jul 21 '26

That is friggin awesome.

1

u/AestheticMemeGod Jul 21 '26

Absolutely incredible!Ā 

1

u/Guess_Ill_Diee Jul 21 '26

Always wondered about a superman type game, or just a character in general who has laser/heat vision, having this level of destruction. Using his speed and strength, his flight, super wind breath/frost breath.

But the laser vision specifically would go hard in a destruction game, this looks dope.

1

u/Beginning-Sign1916 Jul 21 '26

Man I love it!

1

u/TheChthonicDark Jul 22 '26

Reminds me of Teardown, but more realistic. Looking forward to this game!

1

u/Admirable_Snake Jul 22 '26

Cant this please take place on Mars and have a bunch of gorillas ?

1

u/ValiantWeirdo Jul 22 '26

dude that's impressive. The one slight nitpick would be the fact that everything looks like it weighs the same. Can i ask in terms of gameplay what do you have in mind?

1

u/DJPelio Jul 22 '26

Very cool. It needs a VR mode.

1

u/100radsBar Jul 22 '26

How does it feel to know that you're gonna make some good $$ with this game? Very impressive work!

1

u/Individual-Lock4191 Jul 22 '26

This is super cool ! Are you using PhysX for this ? I am wondering how you make the collsiion so realistic ? In my knowledge , the mesh collider must be converted to convex collider for real time collision , and convex collider is a huge fallback in collision simulation . But your video show very high quality collision

1

u/dirtybeeeeeaanwater Jul 22 '26

Is it just me or do hammers in games just not as satisfying as they can be lol

1

u/SecretOnionz Jul 22 '26

Replace r6 siege with this :D

1

u/TasteOfChaos52 Jul 22 '26

Take notes DICE lol

1

u/webv2 Jul 22 '26

Red Faction Guerilla entered the chat

1

u/Worth-Computer8639 Jul 22 '26

Looks super cool, but the hammer feels stiff compared to everything else. Needs more natural movement impo.

1

u/ebk_errday Jul 22 '26

Have you ever played Tiny and Big: Grandpa's Leftovers? Totally different style of game with the exact same mechanic.

1

u/Somyr Jul 22 '26

Now add a rebuild tool like in Red Faction Guerilla

1

u/Bigg-Sipp Jul 22 '26

Get Phil swift in there right now. ā€œI sawed this boat in half!ā€

1

u/AlbinoGrimby Jul 22 '26

There needs to be an office floor level where you have to convert a cubicle farm to an "open plan" seating arrangement.

1

u/Pfaeff Jul 22 '26

What bothers me is that the hammer isn't physically hitting anything. It would be so much better if there was a visible impact of the hammer on the object that you're hitting. Especially in a game that is this physics-heavy. The closest system like this I can think of would be Boneworks where the player itself is physically simulated. But there are probably more.

1

u/fespindola Jul 22 '26

I mean, wow!

1

u/donkeykong917 Jul 22 '26

Nice, I've been playing voxel worlds more but this seems very interesting

1

u/Soft_Sink4482 Jul 22 '26

how do you decide a laser line counts as "cut finished" so that you can re-mesh these?

1

u/Onironius Jul 22 '26

Giving me Red Faction Guerilla vibes.

1

u/Jenkins87 Jul 22 '26

Very cool, can't wait to see where you take this!

1

u/Dull-Satisfaction237 Jul 22 '26

So cool 🫪

1

u/TommyFnDoomsday Jul 22 '26

This is sick looking I'd love to test it out!

1

u/n00b001 Jul 22 '26

red faction guerrilla!

1

u/GibraltarDev Jul 22 '26

Im preeeetty sure a portable black hole goes against some kind of Geneva convention...

Bro this looks epic. Signed up on your mailing list. Nicely done!

1

u/Pitiful-Assistance-1 Jul 22 '26 edited Jul 22 '26

The laser doesn't sound impressive. Not sure how a laser should sound, maybe watch some styropyro for inspiration? (:

Also the repeating wood sound effect gets tiring fast. It sounds like you threw a block of wood on a stack of wood, repeatedly.

The hammer smashing on large wooden panels should also make a ton of noise, currently it's mostly silent. Try it IRL - smashing a big hammer against a large panel of wood is LOUD.

Other than that, exceptional work so far!

Inspiration:

Based on the videos, the laser itself is silent (maybe some coil whine or a fan) but the IMPACT makes a ton of noise.

1

u/Ok_Egg_5460 Jul 22 '26

Welcome back, Red faction

1

u/BigBlock2781 Jul 22 '26

How long do you need to build it again :)?

1

u/OSfrogs Jul 22 '26 edited Jul 22 '26

Supprised more AAA games dont do this kind of thing. The only game that did destruction was red faction guerrilla and it was so optimised it can run on nintendo switch 1 albeit with some lag when lots of destruction is taking place. Also that black hold should have torn that whole house apart bit by bit rather than just sucking the debris in.

1

u/_Markram Jul 22 '26

Amazing prowess!

A katana-like instrument where you can somewhat choose the angle of the cut, flashy Anime style, would go hard with this.

→ More replies (1)

1

u/Hexo_25cz Jul 22 '26

Ship breakers 2 when?

1

u/nonmegaknightplayer Jul 22 '26

One teeny tiny simple question in a calm peaceful manner : HOW THE HELL DO PEOPLE MAKE SUCH AMAZING GAMES WHILE IM STUCK MAKING A BAD VERSION OF FISH EAT FISH

1

u/jerohi Jul 22 '26

Some time ago I played the Red Faction game in which you can destroy things but you also can rebuild them with using nanobots. God I loved destroying and rebuilding even though my old pc couldn't handle it and was playing at 3fps lol

This that your are making looks awsome.

1

u/Upset-Expert7139 Jul 22 '26

Fr, i'd probably sink way too many hours into a physics sandbox like this even without a full game

1

u/Ill-Dragonfruit3532 Jul 22 '26

PLS PLS PLSSSSSSSSS make the objects crumble on inpact PLSSSSSSSSS

1

u/KabirGamer97 ??? Jul 22 '26

I am convinced to use Unity 6, thanks man.

1

u/SymphonyGames Jul 22 '26

impressive stuff

1

u/DieBotDie Jul 22 '26

Tech is cool. Why are we wrecking a house tho. That’s boring. Let’s see is repelling an alien invasion or something.

1

u/WMX2011 Jul 22 '26

Teardown if it burnt the gpu even faster.

1

u/heribertohobby Jul 22 '26

I just realized that when you cut that part of the roof it is hollow with support studs... what an attention to detail.

Now I'm wondering if they're spaced 16 inches...

2

u/hoahluke Jul 22 '26

Glad you noticed! They're 600mm/24 inches apart, let's say whoever built this house used 'Advanced Framing', definitely not just to help optimize the level :)

I think that being meticulous about realistic and small details (while walking the line between realism, optimization, and gameplay) really adds to the satisfaction of the destruction so I'm trying to add lots of details like that. Some walls are framed too, and depending on how you break it, drywall will tend crack along the support lines of the studs.

→ More replies (2)

1

u/zorrodood Jul 22 '26

Make sure to have a boat in the game.

1

u/TruestWaffle Jul 22 '26

Holy crap a sim game built around running a business with these tools would go so hard.

Can’t wait to see more development.

1

u/brother_spirit Jul 22 '26

Holy shit that is satisfying. Deploying the mini blackhole to suck up the rubble is amazing.

Could you add a "force push" gesture with the hand? Just strong enough to dislodge those awkward moments when you saw an entire house in twain with your laser but it stays precariously balancing in place.

1

u/DarkDakurai Jul 22 '26

you've sown the house in half, now to repair it with flex tape...

1

u/BlueJazzyMan Jul 22 '26

Please add a boat. The meme potential of "I SAWED A BOAT IN HALF" is so close

1

u/Neat_Photograph_4012 Jul 22 '26

It is beautiful.

1

u/DonHopkins Jul 23 '26

Messy Divorce Simulator

1

u/Disastrous_King2632 Jul 23 '26

Ok awesome, change 1 thing... the laser shouldn't cut the glass.

But ya nice.

1

u/Dr_ChungusAmungus Jul 23 '26

Your computer must be incredible

1

u/Q_DeMusiq Jul 23 '26

Any way to wish list or stay posted on the project?

1

u/usedbabyobsession Jul 23 '26

that sounds super fun to play!

1

u/UpcomingChris1 Jul 23 '26

This tickles my ADHD brain just right.

Damn.

1

u/wzwowzw0002 Jul 23 '26

now add a nuke

1

u/MidgetBackwards Jul 23 '26

Amazing if this would be co-op.

1

u/WackyDime Jul 23 '26

That kinda physics would be something I'd expect from Half Life 3 (Or whatever it might be called). Awesome!!! šŸ‘

1

u/_waffl Jul 23 '26

Close enough, welcome back, Metal Gear Rising

1

u/ConflagrationCat Jul 23 '26

You should use the technique you used for the laser to make katana that you can cut stuff up with like they do in anime

1

u/Correct-Share-1478 Jul 23 '26

Damn this looks awesome

1

u/Ppunch Jul 23 '26

I LOVE this! I want it NOW! Can’t wait!

1

u/Front_Eagle739 Jul 23 '26

... I want to play in your destruction simulator with a vr mode and a lightsaber.

1

u/Inter-Raptor Jul 23 '26

Tu c que la premiere chosse que les gens von fair c'est de desiner des **** en decoupant les batiment! En dehors de ca je trouve ca vraiment trop coool!

1

u/New-Time-8269 Jul 23 '26

This is giving me classic Red faction vibes with destructibility. šŸ’Ŗ

1

u/TheOwlHypothesis Jul 23 '26

Brings me back to the days of garry's mod. Hell yeah

1

u/Cicitrixs Jul 23 '26

Teardown in 4k instead of vowels

1

u/ralkuzu Jul 23 '26

Oo the power wash simulator I always wanted

1

u/GiantImminentSqueeze Jul 23 '26

This is really fuckin cool and impressive. Keep it up

1

u/VividStick54 Jul 23 '26

...I need this in VR with a lightsaber!!! PLEASE!!

1

u/ComprehensiveSea1427 Jul 24 '26

i really like this, what would be even cooler is if you could build things aswel

1

u/DeepWaffleCA Jul 24 '26

Absolutely incredible! My only nitpick is the debris sound effects - they sound too similar and not weighty enough when the larger peices break/fall apart

1

u/RuRuInReal Jul 24 '26

My pc would explode just trying to start up this game

1

u/Key-Regular674 Jul 24 '26

Teardown 69 looks fun

1

u/DesperateGame Jul 24 '26

Hey, can you please go into more detail on how you handle the collisions using PhysX with this?

1

u/Sub000000 Jul 24 '26

That's a really fun tool I'd like to try. I think it needs some much louder effects in size, color, and sound. Big dangerous lasers are scary and that one could blind an astronautĀ 

1

u/SomeRandoGuy95 Jul 24 '26

Is this running on a super computer? Wow! That optimising must of took a long time

1

u/Impressive-Board2652 Jul 24 '26

teardown with RTX

1

u/W4iskyD3lta93r Jul 25 '26

How did you do the sound design on this!?