{"id":13662129,"url":"https://github.com/williambl/unity-destruction","last_synced_at":"2026-01-18T04:13:15.462Z","repository":{"id":72086080,"uuid":"113913175","full_name":"williambl/unity-destruction","owner":"williambl","description":"💥 An open-source script to destroy objects realistically in Unity3D.","archived":false,"fork":false,"pushed_at":"2019-03-22T21:52:00.000Z","size":3322,"stargazers_count":360,"open_issues_count":2,"forks_count":44,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-11-10T17:46:09.116Z","etag":null,"topics":["destruction","mit-license","physics","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williambl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-11T22:00:40.000Z","updated_at":"2024-10-30T19:52:38.000Z","dependencies_parsed_at":"2023-07-03T15:46:16.245Z","dependency_job_id":null,"html_url":"https://github.com/williambl/unity-destruction","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambl%2Funity-destruction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambl%2Funity-destruction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambl%2Funity-destruction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambl%2Funity-destruction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williambl","download_url":"https://codeload.github.com/williambl/unity-destruction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250767312,"owners_count":21483955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["destruction","mit-license","physics","unity","unity3d"],"created_at":"2024-08-02T05:01:49.904Z","updated_at":"2026-01-18T04:13:15.450Z","avatar_url":"https://github.com/williambl.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# unity-destruction\n\nAn open-source script to destroy objects realistically in Unity3D.\n\n[Video](https://gfycat.com/EverlastingSharpBantamrooster)\n\n## Features\n\n- Make stuff break up on impact with other stuff!\n- Make stuff break up when there's nothing underneath supporting it!\n- Make stuff break up for no reason whatsoever!\n- Make stuff explode!\n- Make stuff make sounds when it breaks up!\n- Make stuff make particles when it breaks up!\n- Things can also be configured to only partially break apart, depending on impact velocity.\n- Includes an example game where you can throw a ball at a cube. It's funner than it sounds.\n\n## How to use\n\n- Make an unbroken and a broken version of your object. I recommend using Blender's [cell fracture](https://duckduckgo.com/?q=blender+cell+fracture) feature.\n- Add 'Destruction/Assets/Scripts/Destruction.cs' to the unbroken version.\n- Mess with the settings until you get the desired breaking effect.\n- For examples, see 'Destruction/main.unity'.\n- Use Destruction.Break() to break things via a script, or Destruction.BreakWithExplosiveForce(float, float) to break things with explosive force via a script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliambl%2Funity-destruction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliambl%2Funity-destruction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliambl%2Funity-destruction/lists"}