pub fn new(shape: SharedShape) -> Self {
        Self {
            shape,
            density: None,
            mass_properties: None,
            friction: Self::default_friction(),
            restitution: 0.0,
            position: Isometry::identity(),
            is_sensor: false,
            user_data: 0,
            collision_groups: InteractionGroups::all(),
            solver_groups: InteractionGroups::all(),
            friction_combine_rule: CoefficientCombineRule::Average,
            restitution_combine_rule: CoefficientCombineRule::Average,
            active_collision_types: ActiveCollisionTypes::default(),
            active_hooks: ActiveHooks::empty(),
            active_events: ActiveEvents::empty(),
        }
    }
/// Initialize a new collider builder with the given shape.
Initialize a new collider builder with the given shape.
Initialize a new collider builder with the given shape .
pub fn new(shape: SharedShape) -> Self {
        Self {
            shape,
            density: None,
            mass_properties: None,
            friction: Self::default_friction(),
            restitution: 0.0,
            position: Isometry::identity(),
            is_sensor: false,
            user_data: 0,
            collision_groups: InteractionGroups::all(),
            solver_groups: InteractionGroups::all(),
            friction_combine_rule: CoefficientCombineRule::Average,
            restitution_combine_rule: CoefficientCombineRule::Average,
            active_collision_types: ActiveCollisionTypes::default(),
            active_hooks: ActiveHooks::empty(),
            active_events: ActiveEvents::empty(),
        }
    }
pub fn new ( shape : SharedShape ) -> Self { Self { shape , density : None , mass_properties : None , friction : Self :: default_friction ( ) , restitution : 0.0 , position : Isometry :: identity ( ) , is_sensor : false , user_data : 0 , collision_groups : InteractionGroups :: all ( ) , solver_groups : InteractionGroups :: all ( ) , friction_combine_rule : CoefficientCombineRule :: Average , restitution_combine_rule : CoefficientCombineRule :: Average , active_collision_types : ActiveCollisionTypes :: default ( ) , active_hooks : ActiveHooks :: empty ( ) , active_events : ActiveEvents :: empty ( ) , } }
Initialize a new collider builder with the given shape.
Initialize a new collider builder with the given shape .
shape
SharedShape