The body to fracture. Must have at least one polygon shape.
World-space point where the fracture originates. Used as the center bias for site generation and explosion impulse direction.
Optionaloptions: FractureOptionsFracture configuration.
A FractureResult with the array of fragment bodies.
Fracture a body into multiple pieces using Voronoi decomposition.
Takes the first polygon shape on the body, generates Voronoi cells within it, clips each cell to the original polygon, and creates a new dynamic body for each fragment. Fragments inherit the original body's linear and angular velocity, plus an optional radial explosion impulse.