Search Unity

Terrain with interacting trees or objects.

Discussion in 'Getting Started' started by jc_garcia_8090, Apr 22, 2021.

  1. jc_garcia_8090

    jc_garcia_8090

    Joined:
    Jan 20, 2020
    Posts:
    1
    Hello

    My question is the following: how can I interact with trees painted on the terrain? If I have prefabs of scripted trees they will not be accessible once painted. How can I interact with them or any suggestion of another system to do it? The idea is to have different types of trees that will give different objects, or rocks, bushes, etc. everything that can be painted on the terrain.

    So far I have done it one by one (rocks, trees, bushes) but I can't add 1000 prefabs to the map one by one and with the performance cost that I think it means to have so many scripts at the same time.

    I look forward to your opinions. Thanks!