Plays a list of animations with weights. If duration is equal to zero, the method sets it equal to the animation with the maximum duration