Click or drag to resize
DigitalRuneRagdollMotor Constructor
Initializes a new instance of the RagdollMotor class.

Namespace: DigitalRune.Physics.Specialized
Assembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax
public RagdollMotor(
	int boneIndex,
	int parentIndex
)

Parameters

boneIndex
Type: SystemInt32
The index of the controlled bone.
parentIndex
Type: SystemInt32
The index of the parent bone to which the controlled bone is connected. (Only relevant for constraint motors.)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionboneIndex is negative.
See Also