AddTorque is not working for me

this is my script.

{

public float amount = 100000000000000000000000000000000000000f;

void Updete()
{
	float v = Input.GetAxis("Vertical")*amount*Time.deltaTime;
	float h = Input.GetAxis("Horizontal")*amount*Time.deltaTime;

	rigidbody.AddTorque(transform.right*v);
	rigidbody.AddTorque(transform.forward*h);
}

}

I put this script on a cube and it does not work even when I set all drag to 0, make sure that all rigidbody constraints are off, and made sure that the maximum angular drag limiter is set very high. no mater what I do I can’t get the cube to rotate at all.

You spelled Update() wrong. I’d turn your ‘amount’ WAAAAYYY down, like to 100 lol.

Update isn’t spelled right, and you don’t want a float at such a huge amount, especially you don’t want torque that much, just adjust maxangularvelocity, Unity - Scripting API: Rigidbody.maxAngularVelocity

Script should look like this.

public float amount = 10f;
 
void Update()
{
    float v = Input.GetAxis("Vertical")*amount*Time.deltaTime;
    float h = Input.GetAxis("Horizontal")*amount*Time.deltaTime;
 
    rigidbody.AddTorque(transform.right*v);
    rigidbody.AddTorque(transform.forward*h);
}