Collide with everything in game?
Hey guys,
I am a bit stucked right now. I have many actors that get their position randomly. So, to avoid collisions I set up a
overlap rule.
When overl. or collides - with actor of tag - everything in game
Every 0sec. replace.
But somehow sometimes they are overlapping?!
Thx
I am a bit stucked right now. I have many actors that get their position randomly. So, to avoid collisions I set up a
overlap rule.
When overl. or collides - with actor of tag - everything in game
Every 0sec. replace.
But somehow sometimes they are overlapping?!
Thx
Comments
Darren.
But why doesn't my method work? All actors are movable!
I have 8 different actors in the scene. Their position is chosen randomly. The attribute "startGame" is set to true after 0.5 sec.
Now the rule of the actors:
When "startGame" is false
change self pos. X,Y to random
when overlaps with everything in game
timer every 0.sec run to completion
change self pos.X,Y to random
Somehow it doesn't work and some actors overlap....
thx
Darren.
Darren.
I did it like in your project. But sometimes they still collide and the self attribute "Overlapping" displays false, but they definitely overlap. I created a tag and moved in all the actors that are affected. Do you have an idea why this happens?
thank you!
Could it be the timers are set to after or for instead of every?
Darren.