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
friction: f32
Mixed restitution of the two objects
obj_a: &'a mut PhysicsObject
obj_b: &'a mut PhysicsObject