Skip to content

What are the parameters for 'createSoftBodyAnchor'? #4059

@aprath1

Description

@aprath1

Hi I am working on understanding soft bodies in pybullet. I saw a functionality to create soft body anchor in the example file - https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/deformable_anchor.py

But there was no documentation about the parameters of createSoftBodyAnchor in the PyBullet Quickstart Guide.
->For example below is line 23 in deformable_anchor.py:
p.createSoftBodyAnchor(clothId ,24,-1,-1)
What does 24, -1 and -1 stand for ?
->below is line 25 in d
p.createSoftBodyAnchor(clothId ,15,boxId,-1, [0.5,-0.5,0])
Here what does 15, [0.5, -0.5, 0] indicate?
Is there a repo where all the functions mentioned in the pybullet quick start guide is defined ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions