| RagdollDriveToPose Method (SkeletonPose, TimeSpan) |
Drives the ragdoll bodies to the target pose using the
Motors.
Namespace: DigitalRune.Physics.SpecializedAssembly: 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
)
Public Sub DriveToPose (
skeletonPose As SkeletonPose,
deltaTime As TimeSpan
)
public:
void DriveToPose(
SkeletonPose^ skeletonPose,
TimeSpan deltaTime
)
member DriveToPose :
skeletonPose : SkeletonPose *
deltaTime : TimeSpan -> unit
Parameters
- skeletonPose
- Type: DigitalRune.Animation.CharacterSkeletonPose
The target skeleton pose. - deltaTime
- Type: SystemTimeSpan
The current time step.
Exceptions 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