A collision destroy event between objects without z()
causes collision events to be repeatedly triggered for other components with z()
.
#768
Projects
z()
causes collision events to be repeatedly triggered for other components with z()
.
#768
As shown in the console of this [demo](https://jsfiddle.net/dar90uok/2/), the collision event between
object1
andobject2
is repeatedly triggered, and if you removez()
fromobject1
or addz()
toobject3
orobject4
, it will return to normal.https://kaboomjs.com/play?example=add&code=eJydkU1Lw0AQhs%2FNr5jbzkIo%2BepJ6qF1qUJQCIoU8ZBmF1G3mZIEQcX%2F7mbz4ZLSHoQ9ZGZn3ufNu%2B%2F5jmiP%2FMIrqKwboN2bKpoQlpBLiU%2FerCBNFWbiivseQGUucRH4sAhsfaDaLfNK5Wi%2FWC%2FE2uILQ9N8nkCiKWSTCXF7EhMGZzgR6%2FQ10QFDH5DD8hK%2BzYBLjEciQHvTQrciTe8erdYxtyNHgdv5Y4%2F0mHXlnj4UZjeb63sfjF071LqCgT%2Bnck1av0qF%2FWrCXLOzYU6quqnoE7lp%2FnDPHPc%2Fkmlyq%2FRBnAwuPhdc0gd3ZMy8nBPuJFDSaq7pxcwOa8yaHEtRyn8KmU2r9Qv3vrK%2B
this is the demo on kaboom playground
The text was updated successfully, but these errors were encountered: