Callbacks now actually fire when they're supposed to, instead of post-step (means PreSolve collision filtering works)

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-26 20:22:03 -04:00
parent 413f5026fa
commit 16fb73e92a
2 changed files with 39 additions and 90 deletions
+1 -7
View File
@@ -67,15 +67,9 @@ namespace box2d
{
public:
Reference * ref;
std::vector<Contact *> contacts;
std::vector<const b2ContactImpulse *> impulses;
b2Manifold* oldManifold;
b2ContactImpulse* impulse;
ContactCallback();
~ContactCallback();
void add(b2Contact* contact);
void add(b2Contact* contact, const b2ContactImpulse* impulse);
void process();
void process(b2Contact* contact, const b2ContactImpulse* impulse = NULL);
};
class ContactFilter