| MotionSettingsRemoveBodiesOutsideWorld Property |
Gets or sets a value indicating whether bodies that leave the simulation are automatically
removed.
Namespace: DigitalRune.Physics.SettingsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public bool RemoveBodiesOutsideWorld { get; set; }
Public Property RemoveBodiesOutsideWorld As Boolean
Get
Set
public:
property bool RemoveBodiesOutsideWorld {
bool get ();
void set (bool value);
}
member RemoveBodiesOutsideWorld : bool with 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