Search Unity

How to Create a Visible Infinite 2D Grid?

Discussion in 'Editor & General Support' started by renman3000, Jul 30, 2015.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,699
    Hi, I am wondering how I could create a grid like renderer that is infinite.

    So, imagine and infinite 2D landscape. Top down. The background is a grid. How can I have this gird exist, so that it is seen by the user?
     
  2. Fantastic Worlds Studio

    Fantastic Worlds Studio

    Joined:
    Apr 26, 2015
    Posts:
    48
    Could create grid squares that are drawn at certain x and z coordinates (or x and y, however your camera is positioned). A simple bitmap should do. Just use an array to hold the grid information. Lots of tutorials out there for using such systems.