Search Unity

Create tabletop, terraform style for AR game ?

Discussion in 'World Building' started by Edur-Games, Dec 5, 2018.

  1. Edur-Games

    Edur-Games

    Joined:
    Nov 21, 2017
    Posts:
    48
    Hi!
    I'm looking for help on generating small terrain for a scene in Unity.
    I want to create a style tabletop scene for a game in AR using Unity 's Terrain tools

    See pictures of what I mean.

    Set a height to all terrain to generate a sort of cube or other shape and place on a flat surface


    Is there any technique, tool or plugin to be able to make this effect on the terrain in Unity?

    Thanks!
    Regards
     

    Attached Files:

    • 1.png
      1.png
      File size:
      735.1 KB
      Views:
      742
    • 2.jpg
      2.jpg
      File size:
      47.1 KB
      Views:
      756
    • 3.jpg
      3.jpg
      File size:
      459.9 KB
      Views:
      682
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Yes, Unity's terrain tools can do this fine. What's the difficulty?
     
  3. Edur-Games

    Edur-Games

    Joined:
    Nov 21, 2017
    Posts:
    48
    Thank you for answering.
    Can you help me create this?
    Not if you understand me what I want to get
    When you create a terrain in unity, it is a deformed plane (see the first image a.png)
    And I want it to be massive, like it's a real miniature model.
    It's as if the terrain was on a cube or anoher shape (se other images)
     

    Attached Files:

    • a.png
      a.png
      File size:
      1.2 MB
      Views:
      648
    • b.png
      b.png
      File size:
      1.5 MB
      Views:
      618
    • 3_jpg.png
      3_jpg.png
      File size:
      1.6 MB
      Views:
      641
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Ah, I see! So the difficulty is the "sides" of the terrain, from the actual terrain level down to whatever you define as the tabletop.

    I think to do that, you would need to generate a procedural mesh. Use Terrain.SampleHeight to find the height along the edge.

    An alternative (which is probably what the games you're looking at did) is to ignore Unity's terrain feature, and just model the whole thing in your favorite 3D modeling program.