Problem with soft bodies

josemarin
Posts: 38
Joined: Fri Aug 12, 2005 5:37 pm

Problem with soft bodies

Post by josemarin »

Hi.

I´m trying the soft body demo, but having some problems:

* Demo "SoftBody Cloth": if I click on a body (sphere) and drag it down, ti pass through the cloth

* Demo SoftBody Volume: if I shot a box on the "blob", sometimes the box gets stucked inside the blob.

I someone having the same problems?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Problem with soft bodies

Post by Erwin Coumans »

josemarin wrote: * Demo "SoftBody Cloth": if I click on a body (sphere) and drag it down, ti pass through the cloth
The demos use a very basic mouse picking constraint that is much stronger then any other constraint, so it will pass though. Using a softer picking constraint (or spring) will solve this issue.
* Demo SoftBody Volume: if I shot a box on the "blob", sometimes the box gets stucked inside the blob.
The boxes move too fast for the simulation time step, and there is no continuous collision detection or continuous physics used. Slowing down the velocity or using a smaller time step will prevent this.

We can improve this in the future,
Thanks for the feedback,
Erwin