Click or drag to resize
DigitalRuneLinearLimitRestitution Property
Gets or sets the coefficients of restitution.

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

Property Value

Type: Vector3F
The coefficients of restitution. One entry for each rotation axis.
Remarks

If the bodies reach a limit (Minimum or Maximum), the bodies will bounce back. If this property is 0, there will be no bounce. If this property is 1, the whole linear velocity along the constraint axis is reflected.

This vector defines the restitution for each linear movement axis. The minimum and maximum limit of one axis use the same restitution value.

See Also