| RagdollUpdateBodiesFromSkeleton Method |
Updates the poses of the bodies, so that the bodies match the bone transforms of the given
skeleton pose.
Namespace: DigitalRune.Physics.SpecializedAssembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax public void UpdateBodiesFromSkeleton(
SkeletonPose skeletonPose
)
Public Sub UpdateBodiesFromSkeleton (
skeletonPose As SkeletonPose
)
public:
void UpdateBodiesFromSkeleton(
SkeletonPose^ skeletonPose
)
member UpdateBodiesFromSkeleton :
skeletonPose : SkeletonPose -> unit
Parameters
- skeletonPose
- Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose.
Exceptions 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