You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am interested in the terrain system and I wanted to implement a placement of objects (for example trees) these consist of frequency (how much probability that trees appear), size and prefab, all in arrays to edit each prefab , I tried to find the coordinates of each chunk to place the objects but it didn't work for me.
The text was updated successfully, but these errors were encountered:
I would raycast down from the sky when generating the chunks on the x,z axis via a 2d perlin noise. Then place a tree on that point it hit, set it size to random and seed it coords. This would generate a consistent environment with clusters of trees.
(If you want to add this, be sure to unload and load the trees when it chunks are updated, look at InitVisibleMeshChunks in the mesh generator)
Hello, I am interested in the terrain system and I wanted to implement a placement of objects (for example trees) these consist of frequency (how much probability that trees appear), size and prefab, all in arrays to edit each prefab , I tried to find the coordinates of each chunk to place the objects but it didn't work for me.
The text was updated successfully, but these errors were encountered: