Swap Destruction Kit makes a whole level destructible without turning it into geometry collections. Your level stays plain static meshes. You fracture each mesh once, offline. When a blast goes off, the plugin swaps the static meshes it reaches for their fractured stand-ins on the spot and breaks them in the same frame. Everything the blast does not reach keeps costing what a static mesh costs.
What is in it
Swap on hit. A world subsystem finds the swappable meshes of the level, files them in a grid and swaps the ones a blast reaches: plain static mesh components and instances of instanced static meshes.
One node to break. Break At (location, radius, strength) on the server. Restore Level puts everything back.
Fracture tools. Right click static meshes in the Content Browser: Fracture as Structure, Prop or Fixture. Or run the commandlet on a list for hundreds of meshes on a build machine. Both write the registry asset the game loads.
Three kinds of things. Structures are anchored at their base, so the part a blast misses keeps standing. Props break and fall, and props resting on a broken structure fall with it. Fixtures (doors, windows) fall whole when their wall comes apart.
Rules that protect the ground. Floors and structures over the void are never swapped; tags on a component override either way.
Scale variants. Meshes placed with uneven scale (blockout cubes as walls) get a collection baked for that scale, so their collision is right.
Debris that does not block. Broken-off pieces land on the level and on each other while characters walk through them. What still stands keeps blocking.
Fade-out. Rubble fades out by a dither a few seconds after it came to rest and stops simulating. Works with any material that has one scalar parameter; an example material ships with the plugin.
Built-in dust, moved by code, no particle system. Or bind On Debris Burst and spawn your own effects and sounds.
Multiplayer. The server decides each blast and replicates a small record of it; every client breaks its own level from that record, late joiners included.
Pieces that break whole. A bridge span or a cover wall that cracks, then falls or crumbles identically on every machine, closes its way on the navmesh and can come back by itself.
Lift Debris and Drop Debris. Rubble and loose props lose their weight and hover, then fall.
Blueprint and C++. Settings page under Project Settings > Plugins.
Automated tests. 6 automation tests ship with the plugin.
How you use it
1. Enable the plugin.
2. Right click your static meshes > Swap Destruction > Fracture as Structure, Prop or Fixture.
3. Call Break At where something explodes. Call Restore Level when the round ends.
The documentation in the plugin's Docs folder covers every setting, the commandlet's list format and the multiplayer path.
What it does not do
Blasts only. Pieces do not break from collisions or falls; Break At is the trigger.
The rubble is not replicated. What breaks is the same on every machine; where the pieces fly is each machine's own simulation, and rubble does not block characters.
One cut style. Flat Voronoi cells, no fracture noise. A collection you cut yourself in Fracture Mode can be put into the registry by hand.
Anchored pieces stay. The part of a structure a blast does not reach keeps standing, also when what was under it is gone.
Not swapped: hierarchical instanced meshes (foliage), spline meshes, meshes that simulate physics.
No meshes, textures or sounds are included. The demo is built from the engine's cube.
Technical details
Code plugin with content: one runtime module (SwapDestruction), one editor module (SwapDestructionEditor) and two materials. No textures, no meshes, no particle systems, no third party content.
Uses the engine's Geometry Collection, Chaos Solver and Planar Cut plugins (enabled by the plugin).
Built and tested on Unreal Engine 5.8.3, Windows 64-bit.
Network replicated: yes, the blast record and the pieces that break whole. The rubble is simulated locally.
Documentation: Docs/SwapDestruction.md in the plugin.
Created with AI
The C++ code, the materials' shader code, automated tests, demo, documentation and these listing texts were written with a generative AI coding assistant, from the destruction system of the publisher's own game, and checked by building the plugin, running its automated tests and filming a demo show. The video and the pictures are captures of the plugin running in that demo. The plugin contains no AI generated images, textures or audio, and no third party content.
Required engine plugins
Swap Destruction Kit needs three plugins that ship with Unreal Engine: Geometry Collection (GeometryCollectionPlugin), Chaos Solver (ChaosSolverPlugin) and Planar Cut (PlanarCut). They are listed in the plugin's .uplugin file and are switched on automatically when you enable Swap Destruction Kit. The runtime module uses Geometry Collection and Chaos Solver for the fractured pieces; the editor module uses Planar Cut for the fracture tools. No other plugins and no third party code are needed.
Requires the engine plugins Geometry Collection (GeometryCollectionPlugin), Chaos Solver (ChaosSolverPlugin) and Planar Cut (PlanarCut); they ship with Unreal Engine and are enabled automatically by the plugin. Built and tested on Unreal Engine 5.8.3, Windows 64-bit.