(self, fixture)
return True
This method is called to query for a fixture.
This method is called to query for a fixture.
This method is called to query for a fixture .
def ReportFixture(self, fixture):
        """
        This method is called to query for a fixture.
        """
        body = fixture.body
        if body.type == b2.b2_dynamicBody:
            inside = fixture.TestPoint(self.point)
            if inside:
                self.fixture = fixture
                # We found the object, so stop the query
                return False
        # Continue the query
        return True
def ReportFixture ( self , fixture ) : body = fixture . body if body . type == b2 . b2_dynamicBody : inside = fixture . TestPoint ( self . point ) if inside : self . fixture = fixture # We found the object, so stop the query return False # Continue the query return True