Search Unity

  1. Unity 2018.3 is now released.
    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. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. 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:
    24
    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:
      21
    • 2.jpg
      2.jpg
      File size:
      47.1 KB
      Views:
      24
    • 3.jpg
      3.jpg
      File size:
      459.9 KB
      Views:
      19
  2. JoeStrout

    JoeStrout

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

    Edur-Games

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

    JoeStrout

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