{"id":13661952,"url":"https://github.com/wmcnamara/unity-stickybomb","last_synced_at":"2025-04-25T06:30:54.469Z","repository":{"id":112658863,"uuid":"447724408","full_name":"wmcnamara/unity-stickybomb","owner":"wmcnamara","description":"A stickybomb script for Unity that applies explosion force to nearby rigidbodies, and will play effects/sounds.","archived":false,"fork":false,"pushed_at":"2022-01-17T00:56:12.000Z","size":2660,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T23:06:51.552Z","etag":null,"topics":["3d","cs","csharp","physics","stickybomb","unity","unity3d"],"latest_commit_sha":null,"homepage":"https://wmcnamara.com","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/wmcnamara.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,"dei":null}},"created_at":"2022-01-13T19:21:45.000Z","updated_at":"2022-06-26T02:29:30.000Z","dependencies_parsed_at":"2023-06-10T17:30:53.285Z","dependency_job_id":null,"html_url":"https://github.com/wmcnamara/unity-stickybomb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmcnamara%2Funity-stickybomb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmcnamara%2Funity-stickybomb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmcnamara%2Funity-stickybomb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmcnamara%2Funity-stickybomb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmcnamara","download_url":"https://codeload.github.com/wmcnamara/unity-stickybomb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250767028,"owners_count":21483910,"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":["3d","cs","csharp","physics","stickybomb","unity","unity3d"],"created_at":"2024-08-02T05:01:45.226Z","updated_at":"2025-04-25T06:30:49.459Z","avatar_url":"https://github.com/wmcnamara.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# Sticky Bomb Unity Script\n\nA simple stickybomb script that applies explosion force to nearby rigidbodies, and will play effects/sounds.\n\nContained in a single script/prefab, and is highly customizable.\n\n# Example\n\n![StickyBomb Showcase](StickybombShowcase.gif)\n(if you see weird checkerboarding on the gif, its because of video compression)\n\n# Using The Stickybomb\nIf you just want to use the stickybomb, copy the `Assets/Stickybomb` folder into your project.\n\nIt contains a prefab, the Stickybomb.cs file, some materials, a particle effect and a sound.\n\n## What you should know\n\nBy itself, the sticky bomb will:\n\n1. When spawned, will move based on physics (fall based on gravity)\n2. Attach to the first object it hits, and then explode 1 second later\n\nYou should add your own logic for throwing/moving the stickybomb, and spawning it.\n\nIf you want to stop the stickybomb from sticking to anything/exploding, and falling down, call `.DisablePhysics()`.\nYou can call `.EnablePhysics()` to reactivate the stickybomb.\n\nWhen deactivated, the stickybomb will not stick to anything, and will not have gravity. This is useful if your player needs to carry the stickybomb around before throwing it, for example.\n\nDisabling the stickybomb effectively just makes the rigidbody attached to the bomb kinematic.\n\n## Keep in mind:\n - To attach to an object, the object it should attach to must have a collider.\n - To be effected by explosions from the stickybomb, an object must have a collider and rigidbody.\n - The stickybomb object needs a rigidbody and collider to operate.\n - The sound will only play if an explosion effect is also configured.\n \nFeel free to open an issue if you have any questions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmcnamara%2Funity-stickybomb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmcnamara%2Funity-stickybomb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmcnamara%2Funity-stickybomb/lists"}