public void UpdateRotation(float rotation) { GetComponent <Transform>().RotateAroundAxis(Vector3.Up, rotation); delta -= Mathf.Deg2rad(rotation); }