Click or drag to resize
DigitalRuneMotionSettingsRemoveBodiesOutsideWorld Property
Gets or sets a value indicating whether bodies that leave the simulation are automatically removed.

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

Property Value

Type: Boolean
if bodies outside the simulation world are removed; otherwise, . The default value is .
Remarks

The area of a simulation is defined by World. If this flag is set to , bodies that leave the axis-aligned bounding box of this area are automatically removed from the simulation. Bodies are also removed if a value in their pose is NaN.

See Also