maxAngle.Value) * Mathf.Deg2Rad; float x = Mathf.Sin(angle) * radius.Value; float z = Mathf.Cos(angle) * radius.Value; SetDestination(new Vector3(target.position.x + x