| TwistSwingLimitRestitution Property |
Gets or sets the coefficient of restitution for limits.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public Vector2F Restitution { get; set; }
Public Property Restitution As Vector2F
Get
Set
public:
property Vector2F Restitution {
Vector2F get ();
void set (Vector2F value);
}
member Restitution : Vector2F with get, set
Property Value
Type:
Vector2F
The coefficient of restitution for twist and swing: (TwistRestitution, SwingRestitution)
Remarks
If the bodies reach a limit on the line 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 is reflected.
See Also