pub fn new(
        collider_mask: ColliderMask,
        collision_filter: Vec<ColliderMask>,
        collider_type: ColliderType,
    ) -> Self {
        Collider {
            collider_mask,
            collider_type,
            collision_filter,
            collisions: vec![],
            offset: Vector::default(),
            debug_lines: false,
        }
    }
/// Creates a new collider. Note that an empty collision_filter means that this colliders
/// won't collide
Creates a new collider. Note that an empty collision_filter means that this colliders
won't collide
Creates a new collider . Note that an empty collision_filter means that this colliders won ' t collide
pub fn new(
        collider_mask: ColliderMask,
        collision_filter: Vec<ColliderMask>,
        collider_type: ColliderType,
    ) -> Self {
        Collider {
            collider_mask,
            collider_type,
            collision_filter,
            collisions: vec![],
            offset: Vector::default(),
            debug_lines: false,
        }
    }
pub fn new ( collider_mask : ColliderMask , collision_filter : Vec < ColliderMask > , collider_type : ColliderType , ) -> Self { Collider { collider_mask , collider_type , collision_filter , collisions : vec ! [ ] , offset : Vector :: default ( ) , debug_lines : false , } }
Creates a new collider.
Creates a new collider .
collider_mask
ColliderMask
collision_filter
Vec<ColliderMask>
collider_type
ColliderType
collider_mask
ColliderMask
collision_filter
Vec<ColliderMask>
collider_type
ColliderType