Soft body contact force #4403
Unanswered
prathamesh-kanbaskar
asked this question in
Q&A
Replies: 1 comment
-
I'm planning on looking into something very similar to this. Did you happen to notice the discussion from a few days ago here? #4406 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are trying to simulate grasping of soft objects using pybullet. For that purpose, we are trying to get the contact force between a soft body and rigid body, with which we are having some problems. We tried both methods recommended here ( #2488).
We tried getting the contact force between a rigid table and a soft object resting on it. We are using FEM/mass-spring.
(1) Using getContactPoints, we are always getting the same force (1N) at each contact point and same number of contact points(10), regardless of the mass of the object.
(2) We created a link on top of the table which is connected to the table by a fixed joint. We got the reaction forces at the fixed joint. The reaction forces are always zero regardless whether the object is resting on the table or not.
The output is shown below
Both the methods are working with rigid objects. The problem seems to be soft body related.
The link to the code is : https://drive.google.com/drive/folders/ ... sp=sharing
Any advice regarding this would be appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions