Weighting the animation