Hello!
I’m trying to create an actor that will spawn in a defined range of X actors but with a minimum separation between them…
I leave you the capture of my attempts.
Pd: Sorry for my englishs
Hello!
I’m trying to create an actor that will spawn in a defined range of X actors but with a minimum separation between them…
I leave you the capture of my attempts.
Pd: Sorry for my englishs
This first part is a bit strange
The DoN has no effect.
How did you make ‘spawn location’? What’s in there?
You have an instanced static mesh, but you’re not creating instance, you’re spawning blueprints.
Maybe if you say what you’re trying to do?
I’m sorry!
I’m making a farming game, I have 2 actors, 1 for the trees and one for the tree spawn area, I have a instanced static mesh to call the area where the trees spawn, the ‘Do N’ I thought would help me.
Much easier if you just use a collision box. Then you can just say
What I think you might be doing with the location array, is try to not spawn them in the same places, but lets get this working first?
Are you trying to spawn one tree on each tile, like in a strategy game?
Yes, I have achieved it but I would also like there to be a minimum of space between each generated actor.
The idea is to make a survival game where you have to cut down wood, where there are areas of trees but there is separation between them.
This was the programming from which I started, but I would like them to be generated with a minimum space between them. I explain?
One more time, thanks for you time and sorry for my english
ITS WORK!
Thanks you for the help!