Added setAccelByAngle method.