Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Help with tilemap outline

Discussion in '2D' started by NORWAYY, Mar 14, 2021.

  1. NORWAYY

    NORWAYY

    Joined:
    Nov 10, 2020
    Posts:
    17
    I use autotiling and I want the player not being able to walk of the edge, what do I do?
    Unity Help.PNG
     
  2. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,319
  3. NORWAYY

    NORWAYY

    Joined:
    Nov 10, 2020
    Posts:
    17
  4. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,319
    Create another tilemap, "Walls", put a TIlemapCollider2D on it, draw a ring around the walkable area.