Table of Contents

(NOTE) Recommended Reading: The Collider page should be read before this page.

ConvexMeshCollider defines a convex hull for collision detection based upon a ConvexMesh resource.

WARNING: A future version will likely combine all physics mesh types together.

Unlike MeshCollider, convex meshes have a volume which means inertia properties can be computed. ConvexMeshColliders are complex shapes that are still efficient for physics. They are commonly used with dynamic rigid bodies to create an object with a complicated surface.

If a mesh is non-convex, the convex hull of the shape is used for collision detection. This means that the geometry will be an approximation of the surface.

image

Pictured above is an illustration of the convex hull of an object. Note that the collision is bigger than the original shape.


Related Materials

Manual

Reference