1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  3. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
    Dismiss Notice
  4. Unity 5.5 is now released.
    Dismiss Notice
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  6. Unity 5.6 beta is now available for download.
    Dismiss Notice
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
    Dismiss Notice
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
    Dismiss Notice

Grid in Terrain

Discussion in 'Editor & General Support' started by herbie, Oct 16, 2012.

  1. herbie

    herbie

    Joined:
    Feb 11, 2012
    Messages:
    227
    Hi everybody,

    I have build a small village with some houses. Now I'm playing with Terrain for a while and what I'm trying to do is placing some plants and flowers along the walls. But even when I have a brush size of 1, the plants and flowers are placed outside and inside the houses. Thats because you have a grid in Terrain and one grid point can both be inside and outsite a house.

    Is it possible to turn off the grid in Terrain?
    Or is Terrain not the right way to place flowers and plants like this?
     
  2. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Messages:
    2,812
    The terrain details aren't very precise. You can control them a little bit by increasing the Detail Map Resolution in the Terrain Settings, but they'll always be sort of random and imprecise. If you want very precise placement of plants like right along the wall, you should probably make the plant its own game object and place it in the scene manually.
     
  3. herbie

    herbie

    Joined:
    Feb 11, 2012
    Messages:
    227
    Ok, I will make game objects.
    I understand that Terrain is for large fields (of course, that's why its called Terrain).

    Thanks for reply.
     
  4. UnLogick

    UnLogick

    Joined:
    Jun 11, 2011
    Messages:
    1,385
    Do note that the details and trees use independent grid sizes from the heightmap so you can actually set the grid size yourself. So even though the actual placement is pseudo random with the right grid size you can control this. Increasing this does of course cost a bit of performance and memory, so depending on your use case controlling this yourself might be better.