#include <b2WorldCallbacks.h>
Public Member Functions | |
virtual bool | ShouldCollide (b2Fixture *fixtureA, b2Fixture *fixtureB) |
virtual bool | ShouldCollide (b2Fixture *fixture, b2ParticleSystem *particleSystem, int32 particleIndex) |
virtual bool | ShouldCollide (b2ParticleSystem *particleSystem, int32 particleIndexA, int32 particleIndexB) |
Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.
Return true if contact calculations should be performed between these two shapes.
|
inlinevirtual |
Return true if contact calculations should be performed between a fixture and particle. This is only called if the b2_fixtureContactListenerParticle flag is set on the particle.
|
inlinevirtual |
Return true if contact calculations should be performed between two particles. This is only called if the b2_particleContactListenerParticle flag is set on the particle.