Click or drag to resize
DigitalRuneConstraintSettingsRandomizeConstraints Property
Gets or sets a value indicating whether constraints are randomly reordered during constraint solving.

Namespace: DigitalRune.Physics.Settings
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public bool RandomizeConstraints { get; set; }

Property Value

Type: Boolean
if constraints are randomly reordered during constraint solving; otherwise, . The default value is .
Remarks

When the constraints of a simulation island are solved, the stability can be greatly improved by randomly reordering constraints (internally in the solver). This stability improvement is very visible in stacks of bodies.

Disabling this flag increases the simulation performance at the cost of stability.

See Also