| LinearLimitSoftness Property |
Gets or sets the softness.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public Vector3F Softness { get; set; }
Public Property Softness As Vector3F
Get
Set
public:
property Vector3F Softness {
Vector3F get ();
void set (Vector3F value);
}
member Softness : Vector3F with get, set
Property Value
Type:
Vector3F
The softness. One element for each constraint axis. The default value is (0, 0, 0).
Remarks
The softness parameter can be used to allow the constraint to be violated by a small amount.
This has the effect that the joint appears "soft". If the value is 0 the constraint is
"hard" and the simulation will try to counter all constraint violations. A small positive
value (e.g. 0.001) can be used to make the constraint soft.
See Also