mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Tree generation

Open ProYoran opened this issue 3 years ago • 3 comments

Hello, I want trees to spawn in places where there are forests. Is this possible? I'm new to Unity, so it would be nice for a detailed tutorial or explanation.

ProYoran avatar Mar 27 '22 13:03 ProYoran

I wanna know too. Any sugestion?

neoneper avatar May 01 '22 13:05 neoneper

Take a look at the sample assets included in the sdk. SpawnInsideModifier is the buzzword or search for "SpawnInParkModifier"

If that does not match your needs you can even script your own modifier

Markovicho avatar May 12 '22 06:05 Markovicho

as @Markovicho suggested, there's a script and it's even used in one of the demo scenes. randomization and spread isn't the best though and it might be difficult to use.

brnkhy avatar May 17 '22 09:05 brnkhy