Limit nr. of contacts for collision between 2 bodies

Hi,

Does anyone know how I can use the auto-collide function of ode+panda3d, but at the same time limit the number of generated contacts between 2 bodies? I’m not looking for a limit to the number of contacts globally, but specifically between bodies.

Thx in advance!

def single_step(self):
     self.ode_space.autoCollide()
     self.ode_world.step(self.ode_dt)
     self.ode_contactgroup.empty()
     self.totaltime += self.ode_dt