TECHNOLOGY

MuJoCo mesh inertia="exact" does not enable concave mesh collisions

In this article
THE QUICK TAKE

The mesh inertia mode controls inferred mass properties; ordinary mesh collision still uses a convex representation unless an appropriate different collision model is supplied.

A visible cavity can have no collision opening

A twin contains a cup mesh with a visible interior. A simulated probe cannot enter it, so the modeler changes mesh inertia to exact and expects a faithful cavity. That option addresses a different calculation. The object can render correctly and have carefully computed mass properties while its collision representation still closes the opening. Inspect rendering, mass inference and collision geometry as separate consumers of the same source asset before modifying the solver or controller.

Read exact as a mass-property method

The mesh reference defines inertia modes for inferring mass and inertia from mesh geometry. The exact method can compute properties of a nonconvex volume but requires an appropriately oriented watertight mesh. This requirement concerns volume integration; it does not announce nonconvex contact handling. Likewise, choosing a shell mass model changes the mass-distribution assumption, not the shape accepted by the ordinary collision routine. Keep the selected mode with the resulting mass properties.

Inspect the collision representation independently

The collision chapter explains that ordinary mesh collisions use convex hulls even when the rendered source is nonconvex. It describes representing nonconvex bodies with a union of convex geoms, while distinguishing specialized height-field and SDF-plugin paths. These exceptions should not be generalized to an arbitrary ordinary mesh. For a container, the relevant question is whether the chosen collision pieces preserve the opening and walls that the interaction needs.

Propose a cavity-specific fixture

A proposed offline fixture should use a probe position inside the visible cavity and separate positions intersecting intended walls. Compare the ordinary single-mesh collision representation with an explicitly constructed collision decomposition. Inspect contacts and clearances for the actual loaded pieces. Do not use an exterior silhouette check as the only geometry acceptance test. No simulation experiment was run here, and no decomposition quality or contact performance is assumed without its own inspection.

Preserve mass assumptions while changing contacts

If collision decomposition is also used for inertia inference, changing pieces can unintentionally change the body’s mass properties. Retain explicit mass and inertia where appropriate to isolate a contact-geometry comparison, or report the combined model change honestly. Record source mesh revision, scale, compiler settings, inferred properties and collision-piece inventory. A comparison that changes both collision shape and mass distribution cannot attribute every changed trajectory solely to restored concavity.

Keep loading evidence and interaction evidence distinct

The PartNet loading guide addresses missing geometry rather than convex replacement; software reproducibility supports preserving compiler decisions. Here acceptance means the collision representation supports the intended cavity interaction while mass properties have a declared origin. It does not establish physical contact fidelity, material compliance or successful manipulation. The word exact should remain attached to the specific mass calculation it describes.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles