UniColliderInterpolator
Overview
UniColliderInterpolater is the plugin of Unity that interpolate 3d model to cube collider. The Unity physics does not allowed non convex(concave) mesh collider. We can escape the problem by checking convex option at mesh collider but the collision detection is not acculate. The plugin aims accurate collision detection by interpolate mesh collider using box collider.
Demo
Left : Mesh collider with default convex option. Right : Interpolated mesh collider using UniColliderInterpolator.
Requirement
Unity 2018 or higher
Usage
Attach ColliderInterpolator.cs to your 3d model whitch has mesh filter.
Set collider division length and push Generate button.
That's it!!
Notice
- The plugin detect other object collider when generation. Separete target 3d model from other colliders when generation.
- The generation doesnt work well when target 3d model has rigidbody. Remove rigidbody components from target model when generation.
Install
use unitypackage at release page
Licence
Author
Bench
The great bench model from Unity Asset Store.