So I want to change the scene when my Character (2D) (third person) hits a cube. The scene is ‘level 2’ but after following this video exactly (except for changing the physics to 2D) my character just runs through the box though if i un tick is trigger then he will hit it?
How would I make the scene change when my character touches the cube?
#pragma strict
function OnTriggerEnter(Col : Collider)
{
if(Col.tag == "Player")
{
Application.LoadLevel("level 2")
}
}