Captures the current pose of a hierarchy as an animation clip. Useful to blend from an arbitrary pose (e.g. a ragdoll death) back to a known animation (e.g. idle).
The game object playing the animation.
Capture position keys.
Capture rotation keys.
Capture scale keys.
Store Animation Clip
Store the result in an Object variable of type AnimationClip.