pub fn density(&self) -> Option<Real> {
        match &self.co_mprops {
            ColliderMassProps::Density(density) => Some(*density),
            ColliderMassProps::MassProperties(_) => None,
        }
    }
/// The density of this collider, if set.
The density of this collider, if set.
The density of this collider if set .
pub fn density(&self) -> Option<Real> {
        match &self.co_mprops {
            ColliderMassProps::Density(density) => Some(*density),
            ColliderMassProps::MassProperties(_) => None,
        }
    }
pub fn density ( & self ) -> Option < Real > { match & self . co_mprops { ColliderMassProps :: Density ( density ) => Some ( * density ) , ColliderMassProps :: MassProperties ( _ ) => None , } }
The density of this collider, if set.
The density of this collider if set .
&self