| ConstraintSettingsRandomizeConstraints Property |
Gets or sets a value indicating whether constraints are randomly reordered during
constraint solving.
Namespace: DigitalRune.Physics.SettingsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public bool RandomizeConstraints { get; set; }
Public Property RandomizeConstraints As Boolean
Get
Set
public:
property bool RandomizeConstraints {
bool get ();
void set (bool value);
}
member RandomizeConstraints : bool with 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