Esempio n. 1
0
 def EndContact(self, contact):
     a = contact.fixtureA
     b = contact.fixtureB
     add_physics_event(PhysicsEvent(a, b, False))
Esempio n. 2
0
 def BeginContact(self, contact):
     a = contact.fixtureA
     b = contact.fixtureB
     add_physics_event(PhysicsEvent(a, b, True))