Click or drag to resize
DigitalRuneSimulationWorld Field
Represents the simulation "world".

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public readonly RigidBody World

Field Value

Type: RigidBody
Remarks

This abstract rigid bodies represents the simulation world. Rigid bodies that do not touch this body anymore are removed from the simulation. This body can also be used if a rigid body should be attached with a constraint to a fixed position in the "air". In such cases World can be used to represent the empty space. The local space of World is equal to the world space.

The default value is a Static rigid body with a BoxShape (20,000 units side length). This body is not part of the RigidBodies collection.

In general, the Shape of this body can be changed. Other properties should not be altered. See Simulation for more information.

See Also