Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cadastral maps in Unity

Discussion in 'Game Design' started by unity_wAIFNyOWBu7rVg, Feb 21, 2022.

  1. unity_wAIFNyOWBu7rVg


    Dec 2, 2017
    Hello everyone, I need help creating a map. How should I make a cadastral map for a city building game? Do I use an adjacency matrix or something else? I could not find any tutorials and examples. The map should be editable. I saw in the Asset Store that there are clickable World maps. Are they made in the same technique? Could you please point me in the right direction? Code examples would be helpful.

    Thank you very much!
  2. r31o


    Jul 29, 2021
    If your city is something blocky I will star generating a grid of trigger colliders (Im assuming you are making 3d, but the logic can be used in 2d) with 2 for loops then when you click I will use a raycast to check where you clicked and then its up to you.