Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LTMX/Unity-Prefab-Collider-Generator
Unity PCG Generates a Box-Collider Encapsulating Every Child Mesh, Collider or Transform
https://github.com/LTMX/Unity-Prefab-Collider-Generator
collider colliders generator procedural-generation unity unity-3d unity-editor unity-plugin unity-prefabs unity-script unity-tool unity3d
Last synced: about 2 months ago
JSON representation
Unity PCG Generates a Box-Collider Encapsulating Every Child Mesh, Collider or Transform
- Host: GitHub
- URL: https://github.com/LTMX/Unity-Prefab-Collider-Generator
- Owner: ltmx
- License: mit
- Created: 2020-06-01T13:18:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T18:14:18.000Z (10 months ago)
- Last Synced: 2024-10-29T23:55:29.414Z (about 2 months ago)
- Topics: collider, colliders, generator, procedural-generation, unity, unity-3d, unity-editor, unity-plugin, unity-prefabs, unity-script, unity-tool, unity3d
- Language: C#
- Homepage:
- Size: 297 KB
- Stars: 26
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Unity Prefab Collider Generator
### Unity PCG Generates a ``BoxCollider`` Encapsulating Every Child ``Mesh``, ``Collider`` or ``Transform``
[![Made for Unity](https://img.shields.io/badge/Made%20for-Unity-57b9d3.svg?style=for-the-badge&logo=unity&color=blueviolet)](https://unity3d.com)
### Instructions
1. Add the Prefab Collider Generator Script onto any gameobject
2. Change the target GameObject if needed
3. Select the generation mode : From `Meshes` / `Colliders` / `Transforms`, depending on you needs
4. Click on `Generate Collider`### Additional Features
- Click `Clear Duplicate Colliders` to remove unnecessary box colliders from the target GameObject
- Click "Assign Self" to force self assigning (The script normally does it automatically upon enabling)