def _add_joint(self, joint): """Adds a joint to the space""" self._joints.add(joint) cp.cpSpaceAddJoint(self._space, joint._joint)
def add_joint(self, joint): """Adds a joint to the space""" cp.cpSpaceAddJoint(self._space, joint._joint)