pub fn new(friction: Real, restitution: Real) -> Self {
        Self {
            friction,
            restitution,
            ..Default::default()
        }
    }
/// Creates a new collider material with the given friction and restitution coefficients.
Creates a new collider material with the given friction and restitution coefficients.
Creates a new collider material with the given friction and restitution coefficients .
pub fn new(friction: Real, restitution: Real) -> Self {
        Self {
            friction,
            restitution,
            ..Default::default()
        }
    }
pub fn new ( friction : Real , restitution : Real ) -> Self { Self { friction , restitution , .. Default :: default ( ) } }
Creates a new collider material with the given friction and restitution coefficients.
Creates a new collider material with the given friction and restitution coefficients .
friction
Real
restitution
Real