Density
The mass properties will be calculated based on the shape's volume and the given density, with a default of 1.
Mass is calculated
Density is provided
Inertia tensor is calculated
Parameters
density
The density of the shape. Must be greater than 0.