density property

double density
final

Mass per unit volume. Used by the backend to derive mass and inertia from the collider's Shape when the owning rigid body has no explicit mass set.

Implementation

final double density;