Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

A collision destroy event between objects without z() causes collision events to be repeatedly triggered for other components with z(). #768

Open
luluxia opened this issue Oct 7, 2023 · 0 comments

Comments

@luluxia
Copy link
Contributor

luluxia commented Oct 7, 2023

As shown in the console of this [demo](https://jsfiddle.net/dar90uok/2/), the collision event between object1 and object2 is repeatedly triggered, and if you remove z() from object1 or add z() to object3 or object4, 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Bugs
Development

No branches or pull requests

1 participant