Creates a physics body component deriving mass properties from shape and density.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
The shape for which to estimate the mass, rotational inertia, and center of mass.
The density of the object in kilograms per cubic meter.
The material properties, like friction.
The simulation mode that indicates how a body responds to forces.