You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
If there are particles with b2_fixtureContactListenerParticle flag in the system, contact listener receives BeginContact callbacks for all particles - even for particles without this flag. This happens because NotifyBodyContactListenerPostContact method doesn't take b2_fixtureContactListenerParticle flag into account.
Even worse, for particles without b2_fixtureContactListenerParticle flag, BeginContact callback is being called multiple times per contact - filtering out old contacts doesn't work.
The same bug applies to b2_particleContactListenerParticle and NotifyContactListenerPostContact method.
If there are particles with
b2_fixtureContactListenerParticleflag in the system, contact listener receivesBeginContactcallbacks for all particles - even for particles without this flag. This happens becauseNotifyBodyContactListenerPostContactmethod doesn't takeb2_fixtureContactListenerParticleflag into account.Even worse, for particles without
b2_fixtureContactListenerParticleflag,BeginContactcallback is being called multiple times per contact - filtering out old contacts doesn't work.The same bug applies to
b2_particleContactListenerParticleandNotifyContactListenerPostContactmethod.