---
title: "What is a convex hull? Collision shapes explained"
description: "A convex hull is the tightest shape with no dents that wraps all of a model's points. Physics engines use hulls as fast collision for moving objects."
canonical: https://appliedmanifold.com/learn/convex-hull/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Learn](https://appliedmanifold.com/learn/)
3.  Convex hull

LEARN // meshfx

# What is a convex hull

A convex hull is the tightest shape with no dents or holes that wraps around every point of your model, like plastic film shrunk over it. Physics engines use convex hulls for collision because testing two convex shapes against each other is fast and stable, so they are the usual collider for moving objects a box cannot fit.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

pyrofx effects work today, and new accounts start with $5 of usage.

**MODULE // meshfx AVAILABLE**

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

-   No dents: a line between inside points stays inside
-   Fast, stable collision for moving bodies
-   Concave models need several hulls
-   meshfx: measured outputs; hosted availability shown separately

01 // WHAT IT MEANS

## Convex shapes and concave ones

A shape is convex when a straight line between any two points inside it stays inside. A ball, a box and most rocks are close to convex, while a cup, a chair and an archway are concave. One hull over a cup fills the inside, so a ball dropped in bounces off the rim.

For concave models, convex decomposition splits the shape into several hulls that together follow the dents, so a chair might become a seat, a back and four legs. More hulls fit better and cost more. A few usually do for a prop, and level geometry uses a trimesh instead.

02 // IN YOUR ENGINE

## Hulls in each engine

-   Godot 4: Mesh > Create Collision Shape with single or multiple convex, which makes `ConvexPolygonShape3D` shapes.
-   Unity: a Mesh Collider with Convex ticked. Unity limits a convex mesh collider to 255 triangles.
-   Unreal Engine: Auto Convex Collision in the Static Mesh Editor, with a hull count and vertex limit, or `UCX_` meshes you model yourself.
-   Roblox Studio: `CollisionFidelity` Hull for one hull, or PreciseConvexDecomposition for several.

03 // SPATIAL COMPILER

## meshfx and convex hull

meshfx measures faults, checks repairs and makes LODs. Build physics shapes in your engine or editor. Hosted meshfx runs are available in the Playground.

04 // RELATED

## Related pages

-   [Collision mesh AvailableA collision mesh is a simple invisible shape that physics uses in place of the detailed model, for fast, stable collisions.](https://appliedmanifold.com/learn/collision-mesh/)
-   [Collision in Unreal AvailableAdd collision in Unreal Engine 5 with simple shapes, Auto Convex Collision or UCX\_ meshes, and set simple and complex collision.](https://appliedmanifold.com/mesh/collision-mesh-unreal/)
-   [Collision in Unity AvailableAdd collision in Unity with primitive colliders or a Mesh Collider that uses its own simple mesh, and when to tick Convex.](https://appliedmanifold.com/mesh/collision-mesh-unity/)
-   [Collision in Godot 4 AvailableAdd collision in Godot 4 with Create Collision Shape or -col and -colonly import suffixes, and pick trimesh or convex shapes.](https://appliedmanifold.com/mesh/collision-mesh-godot/)
-   [Collision in Roblox AvailablePick a CollisionFidelity for each Roblox MeshPart, or build custom collision from an invisible simple part.](https://appliedmanifold.com/mesh/collision-mesh-roblox/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in Learn →](https://appliedmanifold.com/learn/)

[← Collision mesh](https://appliedmanifold.com/learn/collision-mesh/)[Mesh normals →](https://appliedmanifold.com/learn/normals/)

05 // FAQ

## Convex hull questions

[All questions →](https://appliedmanifold.com/faq/)

**README.CONVEX\_HULL**

### Should I use primitive colliders, convex hulls or a triangle mesh?

Use primitive boxes, spheres or capsules when they fit. Use convex hulls for irregular moving objects and triangle meshes only for static geometry.

### What happens when you wrap a concave shape in one convex hull?

One convex hull fills in dents and openings, so a cup or archway becomes solid across its hollow space.

### When should I use convex decomposition instead of a single hull?

Use convex decomposition for concave props like chairs so several smaller hulls follow the shape without blocking openings.

### Why do moving physics bodies need convex colliders?

Testing two convex shapes against each other is fast and stable, whereas concave triangle meshes are reserved for static level geometry.

### What is the difference between single and multiple convex collision in Godot?

Single convex wraps the whole mesh in one hull, while multiple convex splits concave parts into several hulls that both work on moving bodies.

## Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
