To be clear at start and to not get different kind of answers concerning this, i have a resource gathering system, the trees for now are just some rectangles, i had an idea for these trees to respawn after being chopped down, which would work this way:
-
It would spawn in the boundaries of a cube region (place cube, trees spawn inside)
-
These trees would spawn at: the current terrain level where the tree spawn -2y.
-
These trees would respawn randomly, they don’t respawn at the same place.
-
The tree placement has to be checked if it is valid, = creating a trigger a bit bigger than the tree and creating the tree if no important entities are in the trigger. - otherwise it would restart spawning.
-
All that would go after time, lets say: 1 tree grow per 4 minutes.
I know that it is asking alot, but this is what i am facing right after creating the environment system with a nice sun turning around, and i don’t know where to begin at all, even after searching for information…
This is for sure possible.
Accurate help would be appreciated.