Hello
I’m a 3d Artist and try to make my first game. I’m still learning C# & unity.
My problem:
I want to spawn objects (stones, small trees) on random locations on my terrain. I found this script and it worked well:
我建议你可以先放一些点,再在这些点周围随机位置出来,这样会更容易控制随机点的位置范围
I suggest that you can put some points first and then at these points around the random position out,it will be easier to control the random point of the location range
Thank you very much.
I needed some time for tweaking but finally it works.
I created the points with some empty objects and attached the spawn scripts on them.