Click or drag to resize
DigitalRuneRagdollUpdateBodiesFromSkeleton Method
Updates the poses of the bodies, so that the bodies match the bone transforms of the given skeleton pose.

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 UpdateBodiesFromSkeleton(
	SkeletonPose skeletonPose
)

Parameters

skeletonPose
Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose.
Exceptions
ExceptionCondition
ArgumentNullExceptionskeletonPose is .
Remarks
The poses of the rigid bodies are changed instantly. The bodies will "teleport" instantly to the target positions. They will not interact correctly with other physics objects. The velocities of the rigid bodies are set to zero. The bodies will be positioned relative to the world space pose defined by Pose.
See Also