wiki:SkeletonInterpolator

SkeletonInterpolator XML definition

Example:

<SkeletonInterpolator rotationEncoding="quaternions" encoding="T1R" parts="HumanoidRoot vt10 skullbase l_shoulder l_elbow l_wrist r_shoulder r_elbow r_wrist l_hip l_knee l_ankle r_hip r_knee r_ankle">
0.000000 0.000000 0.950929 0.000000 1.000000 0.000000 0.000000 0.000000  1.000000 0.000000 0.000000 0.000000  1.000000 0.000000 0.000000 0.000000  0.754701 0.000021 0.000012 0.656069  1.000000 -0.000000 0.000000 -0.000000  1.000000 0.000000 0.000000 0.000000  0.754701 0.000021 -0.000012 -0.656069  1.000000 -0.000000 -0.000000 0.000000  1.000000 0.000000 -0.000000 -0.000000  0.999956 -0.000543 0.000008 -0.009383  1.000000 0.000488 0.000004 -0.000000  0.999956 0.000010 -0.000007 0.009386  0.999075 -0.041982 -0.000395 0.009316  0.996668 0.081570 -0.000224 -0.000018  0.999170 -0.039655 -0.000141 -0.009308
0.033333 -0.007787 0.947485 -0.092014 0.047930 -0.009086 -0.998034 0.039344  0.999006 -0.042037 -0.009594 -0.011299  0.998421 -0.037315 -0.040004 0.012779  0.975846 -0.000269 -0.217815 0.016799  0.971186 -0.206386 -0.000000 0.119176  0.988285 0.000001 -0.152617 -0.000012  0.983630 0.026733 0.178154 0.004306  0.966384 -0.222651 0.000000 -0.128563  0.999756 0.000003 0.022080 0.000012  0.991371 -0.124294 -0.041456 -0.003886  0.955819 0.293923 -0.004319 0.000310  0.982836 -0.182288 0.021880 0.018052  0.992523 -0.120271 -0.006345 -0.019834  0.946561 0.322511 0.002750 -0.000762  0.968928 -0.209851 -0.123936 -0.042204
...
</SkeletonInterpolator>

parts indicates the names of the affected joints. Encoding can be "R": rotations only "TR": rotations and translations on all joints or "T1R": translation on the root + rotation on all joints. The values in SkeletonInterpolator indicate, per frame<br>: time of the keyframe (in seconds) followed by per joint: translation when applicable (3 floats, in m), followed by rotation (4 floats). Rotation is either in s x y z order (when using quaternions) or specified in axis (x y z) followed by angle (in radians), when using axisangles encoding.

See ImportMocap for importing mocap from MotionBuilder.