attach a rope from rigid body A to rigid body B, and then attach a rope from rigid body B to rigid body C and so forth and so on? let's say you were trying to create a rope ladder, for example.
I have:
Code: Select all
btSoftBody* rope = btSoftBodyHelpers::CreateRope(m_softBodyWorldInfo, fr, to, 5, 1);
rope->setTotalMass(10.0);
rope->appendAnchor(rope->m_nodes.size()-1, body);
((btSoftRigidDynamicsWorld*)m_dynamicsWorld)->addSoftBody(rope);
Thanks.