How to avoid spawning actors that are overlapping?
Hey there,
I have two actors. When an attribute equals 1, the object gets spawned in the middle of the scene. When 0 on the bottom and 2 on the top.
They are both spawned after random seconds. But how do I avoid that they are not spawning the same time or very close to each other..
The actors are then moving when getting spawned...
Thanks for help...
Alex
I have two actors. When an attribute equals 1, the object gets spawned in the middle of the scene. When 0 on the bottom and 2 on the top.
They are both spawned after random seconds. But how do I avoid that they are not spawning the same time or very close to each other..
The actors are then moving when getting spawned...
Thanks for help...
Alex
Comments
but does this also work when having 4 different actors to be spawned and only having one attribute that changes
every 2 sec. it's value?
Alex
I have a jump and run game. And I have a destroy actor getting spawned and a collect actor.
And for each of these I have just 3 positions to spawn ( when the objects got spawned,they accelerate left)
The spawn positions are for destroy actor and collect actor the same ones. I have two different attributes changing every 2 seconds their value
from 0,1,2. Then the actors get spawned.
But sometimes they spawn and are overlapping.
Thanks for your help tshirtbooth...really appreciate that
Alex
1, 39
2, 102
3, 239
Thank you very much