Hi all. I want to make a labirent so the player should walk among the path to find the exit. Any idea how to make this labirent?
Thanks
Is your question how to visually construct a labyrinth? Then this is a question outside of UnityAnswers. Although as it’s friday, fire up your favorite 3d modeling program, construct a plane with a comfortable grid and select what you want to be walls and extrude them. In Unity tick the “Generate Colliders” in the FBXImporter.
To check when the player reaches the exit, use a collider set to trigger.
function OnTriggerEnter (other : Collider) {
if (!other.CompareTag("Player")) return;
Debug.Log("You found your way out!");
}