How can I simulate the collision between a elastic stick and a soft body?
After collision, the stick would turn to be arc.
Is there any demo?
Thanks for any suggestion~~~
How can I simulate the collision between a elastic stick and a soft body?
After collision, the stick would turn to be arc.
Is there any demo?
Thanks for any suggestion~~~
I think looking through these examples you will have an idea.
https://www.panda3d.org/download/noversion/bullet-samples.zip
Thanks for kindly reply. The 21_SoftbodyRope
is similar to a elastic stick. But, how can I set the stiffness coefficient for the rope?
In fact, I would have done it differently. Created several segments from solids, such as capsules, and would connect them with a spherical constraint. Accordingly, I would further adjust the rotation restriction and stiffness. Visualization can be done through the bones of the skeleton by attaching a capsule to each bone.
https://docs.panda3d.org/1.9/cpp/programming/physics/bullet/constraints