Geometry Collections

For a fractured Geometry Collection, Collider Painter generates collision per piece and writes it as native Chaos convex and implicit data. Generate All Pieces does every rigid piece at once; you can also paint and fit one piece at a time.

Two copies of a fractured mug in Play with Chaos collision drawn as wireframes. Left: the default per-piece hulls, with the handle's hull filling its loop. Right: after Generate All Pieces, hulls that follow each piece.
Chaos’s collision view. Left: the default per-piece hulls; the handle’s hull fills its loop. Right: the same fracture after Generate All Pieces.

Open the editor

In the Content Browser, right-click a Geometry Collection and choose Edit Collision in Collider Painter. The editor lists the pieces in a tree beside the viewport, with a Generation Settings tab. The selected piece is drawn in the editor’s Viewport Selection Color.

Generate All Pieces

  1. In Generation Settings, choose the Type for every rigid piece. The default, Auto Decompose, shows the decomposition settings; a single-shape type (Convex, Box, Sphere, Capsule, Cylinder) shows the fit settings instead.
  2. Press Generate All Pieces (Ctrl+Shift+P). Pieces are copied on the game thread and decomposed on background workers, with progress and Cancel (Escape). Cancelling applies nothing.
  3. Tick Replace All Collision if the baked pieces should drop the convex hulls and external collision the plugin did not create. Other pieces are never touched.

In the recorded take, Generate All Pieces on a 13-piece mug produced 70 collision elements.

When a piece is refused

Pieces cut through overlapping shells, such as a mug’s handle where it enters the wall, often have surfaces that pass through each other, which CoACD refuses as “not a 2-manifold”. Such a piece is retried with Native Unreal, with a warning. A piece that still fails is skipped: it keeps the collision it had, the result says how many pieces were skipped and gives the first reason, and every other piece is generated and baked as usual. Generation fails only when no piece can be generated.

One piece at a time

Select a piece in the tree, then paint with the brush, triangle, connected region, material, UV island, polygroup, box or lasso interaction. Collection polygroups use the source face PolyGroup attribute when present, otherwise the piece geometry; UV-island selection needs UV0. Missing metadata reports a status instead of silently selecting the whole piece.

  • Fit (Enter) previews the selected piece; Bake (Ctrl+Enter) writes it.
  • Each piece row has hide (H) and lock (Ctrl+L) toggles.
  • Clear Paint (Delete), Reset Paint, Ctrl+A (all triangles the piece owns), Ctrl+I, Ctrl+] and Ctrl+[ work as in the character editor.

Per-piece recipes

A CP Collection Collision Recipe asset holds collection-wide settings plus Piece Overrides. Each override targets a piece by transform index, or by its stable Piece Id once the collection has been authored (the ID takes precedence), and sets its own type, fit and decomposition settings. Overrides take precedence over the collection-wide settings for their piece.

From Blueprint or Python

UCPCollectionCollisionLibrary has GenerateCollectionCollision(Asset, Settings, OutError, OutWarnings) and ApplyCollectionRecipe(Asset, Recipe, OutError, OutWarnings). In FCPCollectionCollisionSettings, an empty TransformIndices selects every rigid leaf with geometry; the values are transform indices, not geometry indices.

Applies to Collider Painter 1.0.0. Report a problem with this page.

Esc

Type to search the documentation.

↑ ↓ moveEnter openEsc close