I have no idea how to change it to localRotation
transform.Rotate(Vector3.right * Speed* Time.deltaTime);
How to convert it to work the same but in localRotation?
The instruction is in the loop, I tried to do it like that:
Vector3 rotationVector = new Vector3(1, 0, 0); transform.localRotation = Quaternion.Euler(rotationVector);
but it does not work