Two actors colliding with each other

HoangS

  • Posts: 35
I set it so when actor A collides with actor B, A will kill itself, and B will kill itself.  However when i run it, only A kill itself or only B kill itself.  Its never both at the same time. 

rob1221

  • *
  • Posts: 9237
That happens because the collision is no longer detected on the second actor because the first actor is gone.  The collision detection on one actor doesn't happen at the same time as the collision detection of the other actor.  To solve this problem, have each actor kill the other before killing self.