Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Unity PCG Generates a Box-Collider Encapsulating Every Child Mesh, Collider or Transform

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)