Gets or sets the body.
Namespace: DigitalRune.Physics.SpecializedAssembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
| C# |
|---|
public RigidBody Body { get; private set; } |
| Visual Basic |
|---|
Public Property Body As RigidBody Get Private Set |
| Visual C++ |
|---|
public: property RigidBody^ Body { RigidBody^ get (); private: void set (RigidBody^ value); } |
Field Value
The body.
Remarks
The body is automatically added to or removed from the Simulation when the character is enabled/disabled (see Enabled ).