I’m currently wondering how you could spawn an instance on a random position on a surface within a region? Is there some sort of API, Class, or Service that does this already?
Here is an image of an island with manually placed parts, to give an example image of what I want to achieve using scripting:
You would want to use raycasting downwards from above the area to get the position and normal for the instances. Kind of funny, I just replied to someone how one would do so here a few minutes ago.
Indeed! Though you’ll need to combine it with a function to find the random positions above the area for each of the instances. If you don’t know how, let me know!