RagdollDriveToPose Method (SkeletonPose, Single) |
Namespace: DigitalRune.Physics.Specialized
Exception | Condition |
---|---|
ArgumentNullException | skeletonPose is . |
InvalidOperationException | Ragdoll was not added to a simulation. |
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.
The parameter deltaTime is only necessary for velocity motors (Velocity). The parameter must specify the time step size of the next physics update.