Click or drag to resize
DigitalRunePrismaticJointRestitution Property
Gets or sets the coefficient of restitution for slider limits.

Namespace: DigitalRune.Physics.Constraints
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.
Remarks
If the bodies reach a limit on the slider axis (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 velocity on the slider axis is reflected.
See Also