Really struggling with this… I have made zero progress, so have nothing to share.
Can someone please help me with a construction script to create a blueprint (not using the PCG plugin) to add random meshes, with random (non-overlapping) positions within a bounding box.
I would like to be able to specify how many meshes are applied. I would like to edit the size of the bounding box each time I use it in the editor.
the only other thing is non-overlapping, which I must have covered a dozen times, but can’t find it right now. You basically have to record all the locations you’ve used and check the new random point against them
The issue I have is that I’m trying to do this in a Constructions Script - the Spawn Actor From Class node is Event Graph only… I need this blueprint to help me create scenes not in runtime…
I can follow your flow to get location/random points in the box, but I just can’t work out how I then get that to pull meshes from a Static Mesh Array I have and place them…