| LinearLimitRestitution Property |
Gets or sets the coefficients of restitution.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public Vector3F Restitution { get; set; }
Public Property Restitution As Vector3F
Get
Set
public:
property Vector3F Restitution {
Vector3F get ();
void set (Vector3F value);
}
member Restitution : Vector3F with 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