private void FixedUpdate() { float angle = GetTurn(); if (Mathf.Abs(angle) < ignoreAngle) { angle = 0; } tankShooting.SetAngle(angle); }