public void Rotate(Vector3 positionSelf, Quaternion rotationSelf, Vector3 positionTarget) { Quaternion quatRotation = FindDirection(positionSelf, positionTarget); if (CheckRotationToTarget(quatRotation, rotationSelf, threshold / 2)) { tower.Rotate(quatRotation, rotationSpeed); } }