Randomly generated collectable sticks, stones, etc...

I’ve recently started making a survival game using UE5, I already have the island, but I want to generate rocks and sticks randomly around that are collectable. Thanks!

hi,
you could use a random unit in vector and multiply this by some value and check for overlaps… or you could split the area in quads and then spawn the items in this quads (struct which holds the informations) there is no overlap if only one object spawns per quad.

something like this

hope this helps you :slight_smile:

cheers :vulcan_salute: