Create random forces to simulate dice

I am creating a dice simulation I was thinking of generating random numbers and using them to apply torque to the dice. what would be the best way to do this? are there any better ways of doing this?

I played for a few minutes and got something that was not too bad. I set the ‘drag’ on the rigidbody attached to the cube to 0.5 and set isKinematic to true. I set the Physic material of the collider for the die and for the plane surface to roll against to ‘wood’. I brought the cube back nearer the camera and applied the following script. Hit play and then the space bar to roll the die.

#pragma strict
 
function Update () {
	if (Input.GetKeyDown(KeyCode.Space)) {
		rigidbody.isKinematic = false;
		rigidbody.AddForce(Vector3.forward * Random.Range(1200.0, 2500.0));
		var v3 = Vector3(Random.Range(-50.0, 50.0), Random.Range(-50.0, 50.0), Random.Range(-50, 50));
		rigidbody.AddTorque(v3);
	}
}