💬

Community answer

Collected from the ACE community Discord archive around 2023-09-07. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Fixing collision listener not being removed

🧠 LogicUpdated 2 days ago•0 views
Wrap p:removeCollisionListener() in timer.create("x",0.1,1,...) - removing it synchronously in the same tick seems to leave it attached; delayed removal worked …

How to reliably remove a collision listener

Wrap p:removeCollisionListener() in timer.create("x",0.1,1,...) - removing it synchronously in the same tick seems to leave it attached; delayed removal worked (hard to reproduce reliably).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.