Click or drag to resize
DigitalRuneLinearLimitSoftness 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 Vector3F Softness { 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