float angle = Quaternion.LookRotation(vector, Vector3.up).eulerAngles;spa
vector.x = vector.x * Mathf.Cos(Mathf.Deg2Rad * angle);io
Vector3 vector = Quaternion.AngleAxis(angle, Vector3.up) * Vector3.forward;float