2d Game
Im trying to load the next level when the ball reaches the last board but it keeps going through and i get an error saying their is no rigid body attacked to the ball. I have the 2d rigid body and circle collider attached. The game is a physics game so i need the rigid body.
Any ideas?
#pragma strict
var levelToLoad : String;
function OnTriggerEnter(hit : Collider)
{
Application.LoadLevel(levelToLoad);
}

