Avoid random spawn onto actor
I have a scene where several actors spawn randomly onto the scene... I do not want them to spawn on another actor or else the collision rule will be tripped... How do I avoid randomly spawning onto another actor?
I have a scene where several actors spawn randomly onto the scene... I do not want them to spawn on another actor or else the collision rule will be tripped... How do I avoid randomly spawning onto another actor?
Comments
One idea is to wrap your collision rule inside a rule that says If self.Time < 0.1 (or some other small value) then destroy actor. That way, a newly spawned actor that collides will be destroyed but an existing actor that collides with another existing actor won't.
The problem is the ones that spawn on the collision object are getting counted into the score and that is not what I want....