{"id":15292715,"url":"https://github.com/riskywilhelm/unitycollidersupport","last_synced_at":"2025-04-10T12:33:27.305Z","repository":{"id":257050006,"uuid":"857329154","full_name":"RiskyWilhelm/UnityColliderSupport","owner":"RiskyWilhelm","description":"Solution to Unity's greatest collision problems","archived":false,"fork":false,"pushed_at":"2024-09-14T16:22:06.000Z","size":51,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:16:09.021Z","etag":null,"topics":["collision","package","physx","unity"],"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/RiskyWilhelm.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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T11:14:13.000Z","updated_at":"2025-01-27T20:20:11.000Z","dependencies_parsed_at":"2024-09-14T15:42:19.118Z","dependency_job_id":"36d2059c-d2ee-4adc-8395-7da6361faa7e","html_url":"https://github.com/RiskyWilhelm/UnityColliderSupport","commit_stats":null,"previous_names":["riskywilhelm/unitycollidersupport"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiskyWilhelm%2FUnityColliderSupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiskyWilhelm%2FUnityColliderSupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiskyWilhelm%2FUnityColliderSupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiskyWilhelm%2FUnityColliderSupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RiskyWilhelm","download_url":"https://codeload.github.com/RiskyWilhelm/UnityColliderSupport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217145,"owners_count":21066633,"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":["collision","package","physx","unity"],"created_at":"2024-09-30T16:26:03.284Z","updated_at":"2025-04-10T12:33:27.282Z","avatar_url":"https://github.com/RiskyWilhelm.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Collider Support\nMade in Unity 6000.0.13f1 and didnt tested in other environments.\n\nBy design (hate that word), Unity **only** sends collision messages to the hierarchy of Rigidbody. And also Unity does not sends `OnTriggerExit()` message to self whenever other collider is disabled or destroyed. This package aims to solve that problem.\n\nI did my best to not hit the performance while supporting anything i thought of. So i say, package creates zero garbage but iterates through dictionaries by twice. Your help may make this package faster by sending a pull request.\n\n[ChildCollisionNotifier](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/MonoBehaviours/ChildCollisionNotifier.cs)\n----\nTo send collision messages to children, put this to Rigidbody hierarchy and it will notify to listeners. This is an example hierarchy:\n+ Rigidbody with ChildCollisionNotifier\n  + Any MonoBehaviour [ICollisionEnterListener](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/Shared/ICollisionEnterListener.cs)\n  + Any MonoBehaviour [ICollisionStayListener](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/Shared/ICollisionStayListener.cs)\n  + Any MonoBehaviour [ICollisionExitListener](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/Shared/ICollisionExitListener.cs)\n  + Any MonoBehaviour [ICollisionExitDisabledListener](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/Shared/ICollisionExitDisabledListener.cs) - **Other** collider must have [DisabledColliderNotifier](#disabledcollidernotifier) at its hierarchy.\n\n[DisabledColliderListenerTrigger](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/MonoBehaviours/DisabledColliderListenerTrigger.cs)\n----\nAllows self game object to take [ITriggerExitDisabledListener](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/Shared/ITriggerExitDisabledListener.cs) message by listening to [DisabledColliderNotifier](#disabledcollidernotifier)(s). You can think that component as a trigger. If it is not there, it wont get notified by [DisabledColliderNotifier](#disabledcollidernotifier).\n\n[DisabledColliderNotifier](https://github.com/RiskyWilhelm/UnityColliderSupport/blob/7ebfaf3837882e891f275c39a6f14e3c29f977cb/Assets/MoveAnywhereYouWant/MonoBehaviours/DisabledColliderNotifier.cs)\n----\nNotifies whenever a collider gets disabled. As a downside, destroying a collider in the hierarchy is not allowed and notifier wont send message. Only sends whenever collider's GameObject gets destroyed.\n\n### TODO\n- DisabledColliderNotifier can detect destroyed colliders before it gets destroyed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friskywilhelm%2Funitycollidersupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friskywilhelm%2Funitycollidersupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friskywilhelm%2Funitycollidersupport/lists"}