Gets or sets a value indicating whether this character controller is enabled.

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

Syntax

C#
public bool Enabled { get; set; }
Visual Basic
Public Property Enabled As Boolean
	Get
	Set
Visual C++
public:
property bool Enabled {
	bool get ();
	void set (bool value);
}

Field Value

trueTruetruetrue (True in Visual Basic) if the character controller is enabled; otherwise, falseFalsefalsefalse (False in Visual Basic). The default value is trueTruetruetrue (True in Visual Basic).

Remarks

The rigid body (see Body) is automatically added/removed from the simulation when the character is enabled/disabled. When disabled the character will not move when Move(Vector3F, Single, Single) or ResolvePenetrations()()()() are called.

See Also