| HingeJointRestitution Property |
Gets or sets the coefficient of restitution for hinge limits.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float Restitution { get; set; }
Public Property Restitution As Single
Get
Set
public:
property float Restitution {
float get ();
void set (float value);
}
member Restitution : float32 with get, set
Property Value
Type:
SingleThe coefficient of restitution.
Remarks
If the bodies reach a rotation limit about the hinge axis, the bodies will bounce back. If
this property is 0, there will be no bounce. If this property is 1, the whole velocity
about the hinge axis is reflected.
See Also