Search found 2 matches

by zhang_qiang
Tue Apr 25, 2023 2:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: what is the algorithm used for btSofybody?
Replies: 0
Views: 171558

what is the algorithm used for btSofybody?

It seems the btSoftbody use the PBD (position based dynamic) algorithm. But, it is different from the origina one (https://matthias-research.github.io/pages/publications/posBasedDyn.pdf). For example, the stiffness is used as: l.m_c0 = (l.m_n[0]->m_im + l.m_n[1]->m_im) / m.m_kLST; Is there any docum...
by zhang_qiang
Sun Mar 26, 2023 10:19 am
Forum: PyBullet Support and Feedback
Topic: How to create a elastic cylinder?
Replies: 0
Views: 175050

How to create a elastic cylinder?

Now, I can create a cylinder: import pybullet as p physicsClient = p.connect(p.GUI) p.setGravity(0,0,-10) plane_shape = p.createCollisionShape(p.GEOM_PLANE) plane_body = p.createMultiBody(baseCollisionShapeIndex=plane_shape) cylinder = p.createCollisionShape(p.GEOM_CYLINDER, radius=0.1, height=2) bo...