I want to anchor a soft-body cube with another soft-body cube in PyBullet. The motivation for this is one cube would act as a horizontal prismatic soft-body actuator, and the other cube would act as a vertical prismatic soft-body actuator. If we could attach these two cubes together, then it would be easy building various soft-body robots with just these primitive cubes (like this but 3 dimensional).
I tried using the createSoftBodyAnchor function to do this:
It would work fine. However, this means that the createSoftBodyAnchor would only work if it was anchoring a soft-body object and a rigid-body object. But how would I anchor a soft-body object with another soft-body object?
I want to anchor a soft-body cube with another soft-body cube in PyBullet. The motivation for this is one cube would act as a horizontal prismatic soft-body actuator, and the other cube would act as a vertical prismatic soft-body actuator. If we could attach these two cubes together, then it would be easy building various soft-body robots with just these primitive cubes (like this but 3 dimensional).
I tried using the
createSoftBodyAnchor
function to do this:However, this program doesn't work. When it runs, it acts like the soft body anchor wasn't created at all. If I replaced
with
It would work fine. However, this means that the
createSoftBodyAnchor
would only work if it was anchoring a soft-body object and a rigid-body object. But how would I anchor a soft-body object with another soft-body object?Any help would be greatly appreciated. Thanks!