Click or drag to resize
DigitalRuneUniformMaterialRestitution Property
Gets or sets the coefficient of restitution (bounciness).

Namespace: DigitalRune.Physics.Materials
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public float Restitution { get; set; }

Property Value

Type: Single
The coefficient of restitution in the range [0, 1]. The default value is 0.1.
Remarks

The coefficient of restitution or bounciness of an object is a fractional value representing the ratio of velocities after and before an impact. An object with a restitution of 1 collides elastically, while an object with a restitution less than 1 collides inelastically. For a value of 0, the object effectively "stops" at the surface with which it collides - not bouncing at all.

For a stable simulation it is recommended to use 0 or low values when possible.

See Also