Overview
Welcome! This page provides a basic overview of Instant Destruction.
What is Instant Destruction?
Instant Destruction is an asset that adds an "intuitive and easy destruction system" to your Unity projects. You can achieve destruction effects simply by attaching a component to an object, without needing to write complex scripts.

Key Features
Dynamic Game Feel
- Fragments dynamically scatter from the impact position. The combination of an impressive hit flash (with a slight delay) and directional scattering based on the impact force provides an extremely satisfying destruction experience and visual gratification.
Zero-Spike Performance
- By utilizing Compute Shaders and Shader Graph, heavy computations are offloaded to the GPU. This prevents sudden lag (spikes) the moment an object is destroyed and eliminates the load on the main thread, maintaining a smooth framerate.
Just Attach the Script
- Tedious processes like complex mesh analysis, memory management, and shader integration are all handled internally. You can achieve maximum visual effects with minimal property settings. It also includes a built-in auto-reset feature, which is convenient for map gimmicks.
How it Works
This asset operates in the following steps:
- Mesh Analysis and Memory Allocation: Analyzes the mesh structure to generate fragment data, and allocates/assigns Compute Buffers for bulk transfer to the GPU.
- Warm-up: Executes a warm-up process in the background for a few seconds at the start of the scene, proactively preventing stutters caused by asynchronous shader compilation during actual impact.
- Impact Detection and Parameter Writing: Detects the impact point using raycasts or physical collision events.
- Scattering Direction Calculation: Computes the initial scattering direction vectors from the impact point, along with random rotation and acceleration parameters, for all fragments in bulk on the GPU at ultra-high speed.
- Vertex Deformation and Visual Effect Animation: Reads the buffer data output by the Compute Shader. It animates the scattering trajectory of the fragments using Vertex processing while rendering the hit flash using Fragment processing.
- Impact Presentation: Generates particles centered around the impact point.
Supported Environment
- Unity Version: Unity 6.3 or later
- Render Pipeline: URP (Universal Render Pipeline) Only
Next Steps
- For asset import instructions, please see the Installation Guide.
- For instructions on setting basic parameters, refer to Parameters and their details.
