def remove_collisionpair_func(self, a, b): """Remove the collision pair function between shapes with collision_type which match a and b. :Parameters: a : int The collision_type for the first shape b : int The collision_type for the second shape """ if (a, b) in self._callbacks: del self._callbacks[(a, b)] cp.cpSpaceRemoveCollisionPairFunc(self._space, a, b)
def remove_collisionpair_func(self, a, b): if (a,b) in self._callbacks: del self._callbacks[(a,b)] cp.cpSpaceRemoveCollisionPairFunc(self._space, a, b)
def remove_collisionpair_func(self, a, b): """Remove the collision pair function between the shapes a and b""" if (a, b) in self._callbacks: del self._callbacks[(a, b)] cp.cpSpaceRemoveCollisionPairFunc(self._space, a, b)
def remove_collisionpair_func(self, a, b): if (a, b) in self._callbacks: del self._callbacks[(a, b)] cp.cpSpaceRemoveCollisionPairFunc(self._space, a, b)