Can't rotate the controller after UCC update

Hi,

I went from v3.0.7 to v3.0.17 and I was using this code to rotate my character in the menu scene using the mouse.

float rotX = _mouseX * 20 * Mathf.Deg2Rad;
_ucc.transform.Rotate(Vector3.up, -rotX);

It worked perfectly before, but now the rotation of my ucc is locked and can no longer rotate it like that. Please help.
 
Update: Still don't know what caused it but now the code above must be reworked to

var quaterion = Quaternion.Euler(0, -rotationX + _ultimateCharacterLocomotion.transform.localEulerAngles.y, 0);
_ultimateCharacterLocomotion.SetRotation(quaterion, false);
 
Last edited:
Top