I need my player to collide with a trigger wall in order to load the next level. However i dont want to put the RigidBody on the player. is there any way around this?
this is my code:
function OnTriggerEnter (collision : Collider) {
if(collision.gameObject.name == "Player") {
Debug.Log("Loaded");
}
}