| AngularVelocityMotorUseSingleAxisMode Property |
Gets or sets a value indicating whether the motor applies forces only on a single axis.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public bool UseSingleAxisMode { get; set; }
Public Property UseSingleAxisMode As Boolean
Get
Set
public:
property bool UseSingleAxisMode {
bool get ();
void set (bool value);
}
member UseSingleAxisMode : bool with get, set
Property Value
Type:
Boolean if motor applies forces on a single axis; otherwise,
. The default value is
.
Remarks
In single-axis-mode the motor applies forces on a single constraint axis. If
UseSingleAxisMode is , the motor applies a force on
the same axis as in single-axis-mode but also on two orthogonal axes. In this
multiple-axes-mode the motor drives the bodies on the main constraint axis and cancels all
movements orthogonal to this axis. This multiple-axis motor is more stable but costs a bit
more performance.
See Also