animates a cube in using the AnimationClip.