Click or drag to resize
DigitalRuneRagdollDriveToPose Method (SkeletonPose, TimeSpan)
Drives the ragdoll bodies to the target pose using the Motors.

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 DriveToPose(
	SkeletonPose skeletonPose,
	TimeSpan deltaTime
)

Parameters

skeletonPose
Type: DigitalRune.Animation.CharacterSkeletonPose
The target skeleton pose.
deltaTime
Type: SystemTimeSpan
The current time step.
Exceptions
ExceptionCondition
ArgumentNullExceptionskeletonPose is .
InvalidOperationException Ragdoll was not added to a simulation.
Remarks
This method controls the motors. If the ragdoll does not have any motors, this method does nothing. The ragdoll bodies are not changed by this method. The bodies will move the next time the simulation is updated (see method Update(TimeSpan)) is called.
See Also