Hello!
First post on the forum because I’m at a loss with a problem in the Unity Terrain Tool, and I would appreciate if anyone with more experience (or someone from Unity itself) could help.
I can set up terrains to work as I want, and they’re kinda perfect for my needs… but when scattering trees using the “Tree Density” Value in the “Paint Tree” section of Terrains, the density of spawned trees is way too strong. Even the lowest selectable value (10, not editable by code) is way too high for placing my tree prefabs.
Or better, it looks like doing an ok job when clicking only once on the terrain, but spawns an insane density of trees when dragging the brush along the terrain to scatter each prefab, and this behaviour makes the tool almost unusable for my project.
I know from The Unity Documentation that this is kinda expected, since “the limit is by brush stroke, not area, so repeated brush strokes in the same area create higher densities. Note also that the larger the brush, the farther apart the trees, even if the density is 100”, but anyway the minimum selectable value of the “Tree Density” is still too strong and unusable, even when setting it to work with large “Brush Size” values.
That’s the tool I’m referring to:
I need to spawn 3 different types of prefabs in the same area (and the tool only allows to spawn/paint one prefab variant at a time) but one stroke of every tree prefab tends to saturate the terrain area with trees from the selected prefab variant. At the same time, proceeding by single clicks doesn’t really give control at all over the spawn process.
SO, THE POINT REALLY IS:
It would be nice to know if I can force the “Tree Density” value somehow under the locked minimum, which is 10 (1 would be perfect as a bottom clamped value, but I can’t seem to find the property path name to modify, if ever accessible), or if there is another smart way / workaround to manage the minimum distance at which tree prefabs spawn using the tool.
PS: Scaling down all the rest of the game world is not an option, since I would like to retain the correct real world scale values for my project.
Thanks in advance to anyone available to provide some help!
