Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Projects

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

@slmjkdbtl slmjkdbtl added this to bugs in TODO Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
TODO
Bugs
Development

No branches or pull requests

1 participant