How Do I make a joystick rotate a game object?

I have been following a tutorial to make a twin stick shooter in unity and I’ve gotten stuck on the rotation section of the controller. The left joystick moves the character nicely, but the right joystick which is supposed to rotate the character will only rotate the character to either 90 or -90 depending on whether or not I have the joystick above the x axis or not.

Here is the code I am using to rotate the character.

`if(RightsitckInput.magnitude > 0.1f)
Vector3 curRotation = Vector3.left * RightsitckInput.x + (Vector3.up * RightsitckInput.y);
Quaternion playerRotation = Quaternion.LookRotation(curRotation, Vector3.forward);