ContactMaterial class

Defines what happens when two materials meet. @todo Refactor materials to materialA and materialB

Constructors

ContactMaterial(Material m1, Material m2, {double friction = 0.3, double restitution = 0.3, double contactEquationStiffness = 1e7, double contactEquationRelaxation = 3, double frictionEquationStiffness = 1e7, double frictionEquationRelaxation = 3})

Properties

contactEquationRelaxation ↔ double
Relaxation time of the produced contact equations. @default 3
getter/setter pair
contactEquationStiffness ↔ double
Stiffness of the produced contact equations. @default 1e7
getter/setter pair
friction ↔ double
Friction coefficient. @default 0.3
getter/setter pair
frictionEquationRelaxation ↔ double
Relaxation time of the produced friction equations @default 3
getter/setter pair
frictionEquationStiffness ↔ double
Stiffness of the produced friction equations. @default 1e7
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int
Identifier of this material.
getter/setter pair
materials ↔ List<Material>
Participating materials.
getter/setter pair
restitution ↔ double
Restitution coefficient. @default 0.3
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

idCounter ↔ int
getter/setter pair