Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

unity-destruction

> 编程语言
Open source

An open-source script to destroy objects realistically in Unity3D.

364 stars0 likes1 views
WebsiteGitHub

About

An open-source script to destroy objects realistically in Unity3D.

unity-destruction

An open-source script to destroy objects realistically in Unity3D.

Video

Features

  • Make stuff break up on impact with other stuff!
  • Make stuff break up when there's nothing underneath supporting it!
  • Make stuff break up for no reason whatsoever!
  • Make stuff explode!
  • Make stuff make sounds when it breaks up!
  • Make stuff make particles when it breaks up!
  • Things can also be configured to only partially break apart, depending on impact velocity.
  • Includes an example game where you can throw a ball at a cube. It's funner than it sounds.

How to use

  • Make an unbroken and a broken version of your object. I recommend using Blender's cell fracture feature.
  • Add 'Destruction/Assets/Scripts/Destruction.cs' to the unbroken version.
  • Mess with the settings until you get the desired breaking effect.
  • For examples, see 'Destruction/main.unity'.
  • Use Destruction.Break() to break things via a script, or Destruction.BreakWithExplosiveForce(float, float) to break things with explosive force via a script.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#destructionmit-licensephysicsunity

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言