(Update 10/26/2010 – A version of Detonator for Unity 3.0 is now available.)
Detonator is an extension for Unity3D that lets you make good looking explosions quickly and easily for your Unity projects. How you use it depends on who you are and what your goals are. Solo coders can quickly get prototype explosions going while artists can stack effects to quickly make complex explosions.
Detonator was created originally for the Unity Summer of Code 2009 – Major releases are hosted on the Unity website.
NEW! Download Detonator 1.3b for Unity 3.0
Download Detonator 1.02 for Unity 2.6
Instead of replicating the documentation here, which will change over time, here’s the webplayer that shows what Detonator can do.
Bug Reports
If you find bugs in the package please report them by dropping a comment on this page.


this is awesome stuff, we will use this for an upcoming game of us where it fits perfectly. Maybe we can even contribute stuff back to the community. Thanks for releasing this and making it open source is even better!
These explosions is Amazing.
Thanks very much at all peoples of this project. God Bless you….
[...] de biblioteca de explosoes para unity3D !! Tags: explode, explosion, [...]
Simply amazing! Very cool stuff!!!
very cool,. I will be testing out unity, now that it is free, and this will be something I will use,.
one problem I had was after using the RightClickMenu to go full screen and then pressing Esc to leave that,. clicking anywhere even outside the brower causes an explosion,. should not the web plugin loose focus if I am clicking out side its space? not sure if this is a Unity plugin issue or an implementation one,. . anyay thanks for the boomboom!
Great work, this extension is a blast, literally.:) Thanks for making it so easy to work with.
[...] Detonator framework by Ben Throop allows you to easily create fantastic looking explosions, with particle effects, dynamic lighting [...]
The webplayer on this page doesn’t demonstrate Detonator, it shows a robot model viewer
Detonator rocks, thanks for making it available!
@Takuan – Thanks for the comment – I knew about it but had some trouble finding a fix for the Unity WordPress plugin. Thanks to Angel on the Unity forums for the updated version: http://forum.unity3d.com/viewtopic.php?p=251340
[...] the force of the explosion. The shell then instantiate an explosion (supplied by Ben Throop great Detonator framework), and removes [...]
Awesome addition to Unity… Well done
I’m curious to know if it’s easy to disable the effect of gravity on the explosions – especially sparks – so that it can be used in a space-based game.
@Graham – just set Edit->Project Settings->Physics->Gravity to zero. Detonator respects that.
@Ben – Okay, thanks for that, although the sparks still decelerate before fading out. Ideally, in a weightless environment, they wouldn’t slow down at all, just fade out whilst still moving. Any ideas?
A wonderful bundle.
Any positive movement on the iPhone texture wizard version?
NICE job, very good! Fantastic!
[...] Explosions- http://variancetheory.com/detonator/ Music- “Nukemout” (http://nukemout.newgrounds.com/) Scripting Help- Roberto Diaz Jr [...]
Hello there. Unity 3.0 was released. Now the Explosion Framework isn’t compatible with the new version of Unity 3.0. Are you planning make an code update for the Explosion Framework?
Regards
I just posted an updated version that works with Unity 3.0 – I still consider it a beta release, even though I provided Unity with this code so they could integrate it into some sample projects.
If you find bugs, please share!
[...] そして「Detonator Extension」について紹介しようと思います。これは爆発のエフェクトを簡単に作成することができるExtensionです。Unity3Dの公式HPにも紹介されていますが、それはUnity3D 2.xバージョン用のExtensionであり、Unity3D 3.0では互換性がありません。インポートしてもコンソールウィンドウがエラーだらけになるだけです。Unity3D 3.0と互換性のある最新バージョンはDetonatorの開発者のサイトでダウンロードできます。 [...]
Thanks for the update
This is a great framework
Regards!!!
Ben,
This is awesome! Major kudos on putting this together! I am creating a game and had it in my mind what my explosions would look like but have not been unable to even come close with my feeble efforts. Your “wide” explosion is even better then I imagined was possible in Unity and is exactly what I have been looking for!
I am having a slight issue, as after I import the package into my test project using Unity3D 2.6.1f3, I get an error with the particleEmitter.Emit() complaining about the 7 parameter overload. If I drop the rotation and angular velocity parameters (back to 5 params) it stops complaining.
I also have several CG errors on the shaders in program frag on UnpackNormal and some other initialization errors that don’t make sense starting at line 36 and continuing on lines 37 and 38.
There is another CG error on program vert – “unable to find compatible overload” on mul() on line 79.
Any help getting this working would be greatly appreciated!
Thanks and Merry Christmas,
-Tim
Ben,
I removed Example prefabs and its working fine now. Obviously the shader requires pro which was probably a dependency of one of the prefabs with the (Pro) indication.
Looking forward to playing around with this!
Thanks,
-Tim
Hey man,
This is really neat. Unfortunately, I saw it here:
http://www.kongregate.com/games/GauderioGames/bombs
Unless that’s you, it looks like someone’s trying to pass your work off as their own.
[...] So now let’s talk prototypes. The main goal of this prototype is to just get the player on the field, marking bombs with a limited amount of flags. I also wanted the game to end and for the player to be able to restart the game. For a little extra I added explosions in, which were easy thanks to Ben Throop and his Explosion Framework. [...]
Amazing! Extremely easy to implement and the results are fantastic.
Stephan Tanguay call2action.ca
there’s a problem with the detonator script, the error says “Assets/Standard Assets/Detonator/System/Detonator.cs(416,35): error CS0117:
Resources' does not contain a definition forLoad’”is it free for commercial use??
I can’t see explosion in Unity3d 3.5.0
Are u gonna make it work with Unity 4.0?
can u make one for unity 4 please