Represents the simulation "world".

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.5.0.0 (1.5.0.9503)

Syntax

C#
public readonly RigidBody World
Visual Basic
Public ReadOnly World As RigidBody
Visual C++
public:
initonly RigidBody^ World

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