Hi, I want to create a random location spawner for trees on my game...

Hello, so I want to create a “99 nights in the forest” type game in Unreal… And I am wondering how can I create the trees to spawn in every place in the map but with some limitations… So the image is to help you understand what I want… The red in the center is the spawn (the house that player will stay, like a safe house. The orange is the area that small trees are going to spawn randomly, and the Blue is the Big trees and some small trees too… How can I create this?

Unreal has this thing called Procedural Content Generation.

Check the documentation here:

You can also search for “Unreal PCG forest” in YouTube and you’ll find quite a lot of tutorial videos.

Hope you find something useful.

1 Like