Well, to describe what i am aiming at:
Imagine ocean and islands. Islands are random size, shape,number and position. Now lets imagine i want to spawn trees within that islands but at random position.
Now how an i do this?
I know i could:
Set high number of imagepoints for each islands shape. And then make the creation be at random imagepoint.
Make trees spawn randomly over the whole layout but be destroyed if it spawns outside of the island.
First one is troublesome due to many reasons.
Second takes a while to execute.
I tried with spawning the trees randomly ON islands but obviously they ends up being spawned in the island center. I tried with islands position+random(range) but it only adds.
So i would like to spawn the trees ACROSS the islands.
Know any elegent way to do so?