Okay! This is kind of long but I will try to be concise:
Scene 0 has this script on a cube to make it randomly rotate:
function Start ()
{
var v3 = Vector3(Random.Range(-50.0, 50.0), Random.Range(-50.0, 50.0), Random.Range(-50, 50));
GetComponent.<Rigidbody>().AddTorque(v3 * 2);
}
Then in Scene 1 this script brings me back to Scene 0:
#pragma strict
function LoadScene ()
{
Application.LoadLevel("scene0");
}
So if the LoadLevel Script is in Scene 1, it brings me back to Scene 0 and the cube is at its default position, NOT rotating.
However, if I put the the LoadScene in Scene 0, run it, it will keep rotating with a new random rotation.
I have tried switching the rotation to a Function Update, FixedUpdate none worked.