Fixed setAccelByAngle method modifying wrong attribute.