Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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:
    33
    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:
      67
    • 2.jpg
      2.jpg
      File size:
      47.1 KB
      Views:
      75
    • 3.jpg
      3.jpg
      File size:
      459.9 KB
      Views:
      67
  2. JoeStrout

    JoeStrout

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

    Edur-Games

    Joined:
    Nov 21, 2017
    Posts:
    33
    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:
      64
    • b.png
      b.png
      File size:
      1.5 MB
      Views:
      64
    • 3_jpg.png
      3_jpg.png
      File size:
      1.6 MB
      Views:
      64
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    7,592
    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.