Struct mgf::ContactConstraint [] [src]

pub struct ContactConstraint<'a> {
    pub friction: f32,
    pub obj_a: &'a mut PhysicsObject,
    pub obj_b: &'a mut PhysicsObject,
    // some fields omitted
}

A constraint created by two objects coming in contact.

Fields

Mixed restitution of the two objects