OptionaladdIf true, automatically add fragments to the same space as the original body
and remove the original body. Default true.
OptionalexplosionExplosion impulse magnitude applied radially from the impact point.
Default 0 (no explosion impulse — fragments inherit body velocity).
OptionalfilterInteraction filter for all fragment shapes.
OptionalfragmentNumber of fracture fragments to generate. Default 8.
OptionalmaterialMaterial to apply to all fragment shapes. If not specified, the first shape's material is copied from the original body.
OptionalrandomCustom RNG function for reproducible fracture patterns.
Default Math.random.
OptionalsitesCustom Voronoi site positions (in body-local space).
If provided, fragmentCount is ignored and these exact sites are used.
Options for body fracture.