Click or drag to resize
DigitalRuneRagdollUpdateBodyFromSkeleton Method
Updates the pose of a single body, so that the bodies match the bone transforms of the given bone.

Namespace: DigitalRune.Physics.Specialized
Assembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax
public void UpdateBodyFromSkeleton(
	SkeletonPose skeletonPose,
	int boneIndex
)

Parameters

skeletonPose
Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose.
boneIndex
Type: SystemInt32
The index of the bone.
Exceptions
ExceptionCondition
ArgumentNullExceptionskeletonPose is .
Remarks
See Also