animator.inPlace         = true;
    Ref.animator.inPlaceScale[2] = 0;

    Ref.animator.setClip( clip );

    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // Build Armature
    const arm  = armature_from_bvh( bvh );   // Create an Armature from a GLTF Skeleton
    arm.offset.setScl( [0.01,0.01,0.01] );

    const pose = arm.newPose();
    pose.updateWorld(); // Needed since adding offset scale to the armature.
    Ref.pose = pose;

    //console.log( 'arm bones', arm.bones );

    //~~~~~~~~~