A Unity tool that can be used for generating convex MeshColliders and convex primitive colliders (currently only BoxColliders) for a Mesh by using convex decomposition. VHACD is used as the convex decomposition library, found here: https://github.com/Unity-Technologies/VHACD
- Open the editor by going to Window -> Mesh Collider Generator.
- Select a gameobject with a Mesh in the input field.
- Optionally, set custom build settings values.
- Optionally, choose to only use primitive colliders (BoxCollider).
- Optionally, choose to also update prefabs using the mesh.
- Press the Build Colliders button.