Uni Collider Interpolator by sanukin39 - 9

SDK

Unity plugin of interpolate non-convex collider to convex.

Unity 2019.2.2f1MIT LicenseUpdated 15 days agoCreated on November 3rd, 2019
Go to source

UniColliderInterpolator

Image

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. Demo1 Demo2

Requirement

Unity 2018 or higher

Usage

Attach ColliderInterpolator.cs to your 3d model whitch has mesh filter.

Attach

Set collider division length and push Generate button.

Attach

That’s it!!

Demo3

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

MIT

Author

sanukin39

Bench

The great bench model from Unity Asset Store.

Show all projects by sanukin39