Added setAnimationByAngle.