{"id":26483955,"url":"https://github.com/vrlabs/collision-detection","last_synced_at":"2026-04-18T02:31:19.242Z","repository":{"id":235823390,"uuid":"769659156","full_name":"VRLabs/Collision-Detection","owner":"VRLabs","description":"VRChat avatar package for detecting player or world collision","archived":false,"fork":false,"pushed_at":"2024-11-15T14:06:30.000Z","size":10358,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-20T04:59:09.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/VRLabs.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-03-09T17:39:07.000Z","updated_at":"2025-03-11T21:13:55.000Z","dependencies_parsed_at":"2024-09-17T11:07:23.609Z","dependency_job_id":null,"html_url":"https://github.com/VRLabs/Collision-Detection","commit_stats":null,"previous_names":["vrlabs/collision-detection"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/VRLabs/Collision-Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FCollision-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FCollision-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FCollision-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FCollision-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VRLabs","download_url":"https://codeload.github.com/VRLabs/Collision-Detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FCollision-Detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-03-20T04:59:15.364Z","updated_at":"2026-04-18T02:31:19.227Z","avatar_url":"https://github.com/VRLabs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Collision Detection\n\n[![Generic badge](https://img.shields.io/github/downloads/VRLabs/Collision-Detection/total?label=Downloads)](https://github.com/VRLabs/Collision-Detection/releases/latest)\n[![Generic badge](https://img.shields.io/badge/License-MIT-informational.svg)](https://github.com/VRLabs/Collision-Detection/blob/main/LICENSE)\n[![Generic badge](https://img.shields.io/badge/Quest-Compatible-green?logo=Meta)](https://img.shields.io/badge/Quest-Compatible-green?logo=Meta)\n[![Generic badge](https://img.shields.io/badge/Unity-2022.3.22f1-lightblue?logo=Unity)](https://unity.com/releases/editor/whats-new/2022.3.22)\n[![Generic badge](https://img.shields.io/badge/SDK-AvatarSDK3-lightblue.svg)](https://vrchat.com/home/download)\n\n[![Generic badge](https://img.shields.io/discord/706913824607043605?color=%237289da\u0026label=DISCORD\u0026logo=Discord\u0026style=for-the-badge)](https://discord.vrlabs.dev/)\n[![Generic badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dvrlabs%26type%3Dpatrons\u0026style=for-the-badge)](https://patreon.vrlabs.dev/)\n\nA contact system to detect world collision.\n\n![Collision](https://github.com/VRLabs/Collision-Detection/assets/76777936/11b91ef5-b2d4-413d-81b2-f857a2b4bf85)\n\n### ⬇️ [Download Latest Version](https://github.com/VRLabs/Collision-Detection/releases/latest)\n\n\n### 📦 [Add to VRChat Creator Companion](https://vrlabs.dev/packages?package=dev.vrlabs.collision-detection)\n\n\u003c/div\u003e\n\n---\n\n## How it works\n\n* A particle dies on collision with colliders, causing contacts to stop contacting each other, causing a boolean to enable.\n\n## Install guide\n\nhttps://github.com/VRLabs/Collision-Detection/assets/76777936/f9e0b70a-c5ff-43a6-a0ad-b7a3e49f3a63\n\n* Merge the Animator Controller ``Collision Detection FX`` to your own FX Controller, using the [Avatars 3.0 Manager](https://github.com/VRLabs/Avatars-3.0-Manager) tool.\n* Drag \u0026 drop the ``Collision Detection`` prefab into the base of your Hierarchy.\n* Right click and unpack the prefab, then drag \u0026 drop it onto your avatar.\n* Parent Constrain it to any object in your avatars hierarchy as needed.\n  * Note: You can move the object as well, but you'd have to repath the animations. One tool for this is [hfcred's Animation Repathing tool](https://github.com/hfcRed/Animation-Repathing)\n\n\u003e [!NOTE]  \n\u003e When building for Quest, you will have to remove unsupported components and shaders\n\n## How to use\n\n* After parent constraining/moving the object as needed, you can scale the object to obtain the desired range.\n  * Note: To change the collision requirements, you can change the Layers in the `collision` module, or disable the `collision` module and enable the `triggers` module to select specific trigger colliders.\n\nThere are three important bools in your FX Controller:\n\n* ``CollisionDetection/IsColliding``: Whether or not the component is currently colliding with a collider.\n* ``CollisionDetection/AlwaysReset``: Whether or not IsColliding should go to false immediately after stopping collision, or stay on until the Reset bool is enabled.\n* ``CollisionDetection/Reset``: If ``CollisionDetection/AlwaysReset`` is false, this bool is used to reset the IsColliding state.\n\n## Performance stats\n\n```c++\nContact Senders:    1\nContact Receivers:  1\nFX Animator Layers: 1\nParticle Systems:   1\n```\n\n## Hierarchy layout\n\n```html\nCollision Detection\n```\n\n## Contributors\n\n* [hfcred](https://github.com/hfcred)\n* [jellejurre](https://github.com/jellejurre)\n\n## License\n\nCollision Detection is available as-is under MIT. For more information see [LICENSE](https://github.com/VRLabs/Collision-Detection/blob/main/LICENSE).\n\n​\n\n\u003cdiv align=\"center\"\u003e\n\n[\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/VRLabs.png\" width=\"50\" height=\"50\"\u003e](https://vrlabs.dev \"VRLabs\")\n\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Empty.png\" width=\"10\"\u003e\n[\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Discord.png\" width=\"50\" height=\"50\"\u003e](https://discord.vrlabs.dev/ \"VRLabs\")\n\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Empty.png\" width=\"10\"\u003e\n[\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Patreon.png\" width=\"50\" height=\"50\"\u003e](https://patreon.vrlabs.dev/ \"VRLabs\")\n\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Empty.png\" width=\"10\"\u003e\n[\u003cimg src=\"https://github.com/VRLabs/Resources/raw/main/Icons/Twitter.png\" width=\"50\" height=\"50\"\u003e](https://twitter.com/vrlabsdev \"VRLabs\")\n\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrlabs%2Fcollision-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrlabs%2Fcollision-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrlabs%2Fcollision-detection/lists"}