Collision Mesh Generator automatically turns complex meshes into a set of convex hulls that are suitable for realtime collision detection and raycasts, even on mobile devices. Unity only supports mesh to mesh collisions if at least one mesh is convex, so this is a required step even for high end platforms.
Unity Free Source Code
Although this Unity Asset is typically a paid asset, it is currently available for free download. It’s important to note that this offer is intended strictly for educational purposes or for testing the product before making a purchase, and it should not be utilized for commercial activities
UNITY ASSET STORE LİNK: LINK
• A single mesh is automatically converted into convex MeshColliders with a single click
• Helps with collision detection performance and accuracy
• Enables sophisticated meshes on dynamic bodies and triggers
• Wide support for different Unity versions and rendering pipelines including 2019 and beyond
• Powered by the advanced V-HACD 2.0 algorithm
• Runs entirely in the editor, no runtime scripting needed
The whole process is customizable including generation of collider components, mesh renderers, asset saving for prefab reuse and editing in external 3D modeling software. Full control over the decomposition settings are exposed in the advanced panel.
Compatibility: Supports 64-bit Windows, MacOS, and 64-bit Linux Unity editors. Runtime decomposition is not supported.
DOWNLOAD LINK: LINK