Avoid the foliage spawning on the road?

Hi. How can I avoid the foliage spawning on the road? I’m using “ProceduralFoliageSpawner” and “Static Mesh Foliage” to spawn the trees… I have the road (splines) on other another layer. I have weighted materials… I have made exclusion for the material I use on the splines… Foliage spawning avoids the area around the road, but not the road itself. If I remove the spline mesh (road), it won’t spawn anything on that area, but as soon I add the spline mesh back, it spawns trees again on there… How can I avoid that?


Use a Procedural Foliage Blocking Volume like described in:

You’ll have to adjust the volume to encompass the area of your road where you don’t want foliage to spawn.

I noticed that there was “Allow Static Mesh” option. I disabled it and it fixed the problem :sweat_smile:

1 Like