struct
FMeshDecompositionSettings
Bounds on an automatic convex decomposition. MaxHulls is the one an artist actually tunes: every hull is a separate Jolt shape inside the compound, so a prop decomposed into forty pieces costs forty narrow-phase tests.
- Module
- Physics
- Header
#include "Physics/MeshCollision.h"- Namespace
Mowo
It lives here rather than next to the generator because it is AUTHORED — the mesh's sidecar carries it, the mesh editor writes it and the collision cook reads it, and those three cannot include each other's headers.
Properties
| Type | Name | Description |
|---|---|---|
int32_t | MaxHulls | Default 8. |
int32_t | MaxHullVertices | Default 32. |
float | Concavity | Fraction of the piece's own hull radius the hull may stray from the piece's surface before the piece is worth splitting. 0 would split forever on any curved surface, since the hull of a triangulated sphere always cuts its chords a little short of the mesh. Default 0.04f. |
int32_t | MinTrianglesPerHull | Default 8. |
int32_t | MaxDepth | Default 6. |
int32_t | MaxTriangles | Above this the automatic cook declines and says so. The split runs on the game thread inside body creation, and a render mesh dense enough to blow this wants a hand-authored proxy rather than a stall nobody asked for. Default 20000. |
Generated from Physics/MeshCollision.h via physics.json · Nov 4, 2026Version 1.0.0