def contact_points(self): ## 0 is the chassis link index contact_points = _query_bullet_contact_points(self._client, self._bullet_id, 0) return [ ContactPoint(bullet_id=p[2], contact_point=p[5], contact_point_other=p[6]) for p in contact_points ]
def contact_points(self) -> Sequence: contact_points = _query_bullet_contact_points(self._client, self.bullet_id, -1) return [ ContactPoint(bullet_id=p[2], contact_point=p[5], contact_point_other=p[6]) for p in contact_points ]
def contact_points(self): ## 0 is the chassis link index (which means ground won't be included) contact_points = _query_bullet_contact_points(self._client, self._bullet_id, 0) return [ ContactPoint(bullet_id=p[2], contact_point=p[5], contact_point_other=p[6]) for p in contact_points ]