Click or drag to resize
DigitalRuneDistanceLimitSoftness Property
Gets or sets the softness.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public float Softness { get; set; }

Property Value

Type: Single
The softness. The default value is 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