Adding Trees to Terrain (Unity makers come here!!)

HI,
I’m about to build a WorldBuilder, and then of course I need to be able to place trees at the terrain in runtime.
If what I have heard is true the unity terrain editor is just a c script, so I would be able to do the same thing in my scripts, can I do that?
I have already discovered how to use splatmaps and heightmaps but now to the trees.

Can I place trees on the terrain from a .js or c script?

If I can’t post a “NO” instead of not answering :wink:

Yes, you can do that. How? Dunno exactly, haven’t done it myself…I do know it uses something similar to a splatmap though.

–Eric

Thanks, now I know I can do it… Now the only thing left is HOW to do it…
Hm, do you know if I can call a specific function in the terrain script… Like AddTrees (); ?

/Aron