Penetration model problem #5519
Replies: 5 comments 1 reply
-
|
This is the program I wrote for your guidance. Thank you |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello everyone, there is another issue with the program above, which is that the rigid body will bounce back after squeezing the soft body. Even with clear position control, it cannot prevent the rebound. Therefore, I tried to modify the mass of the rigid body, such as changing Cube.addObject ('UniformMass', total Mass=1) to Cube.addObject ('UniformMass', total Mass=100), which significantly reduced the rebound problem. May I ask if there are other more effective methods to achieve precise rigid body position control? Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hello,


I am a graduate student and I am using Sofapython3 to achieve contact compression between rigid and soft bodies. If a rigid ball generated by SphereCollisionModel is used, it can allow the software to make normal contact and deformation. However, if a self created model is imported, there may be a problem of rigid bodies penetrating the software. The version I am using is SOFA23, and the following file is my program. Please provide more guidance, thank you!
code.zip
Beta Was this translation helpful? Give feedback.
All reactions