Soft body collision bug

Post Reply
mori
Posts: 1
Joined: Mon Nov 22, 2021 4:11 am

Soft body collision bug

Post by mori »

Hello!

I am trying to work with soft bodies right now, and I am running into a collision problem. Currently I have a rigid body square and a soft body square lying on top of the rigid body square. Then I drop a ball from 10 units high. When the ball hits the soft body, it squishes the soft body a little and then falls into the soft body. This doesn't happen when I drop the ball from a lower height, like 3 units high. After, if I move the box at all, it goes flying in another direction with the ball in it

Any ideas what is going on with the collision here? I have linked a video of this happening and a code snippet is attached. Thanks!

https://drive.google.com/file/d/1M7rIJK ... sp=sharing
Attachments
Code snippet
Code snippet
Screen Shot 2021-11-21 at 11.20.28 PM.png (236.4 KiB) Viewed 20464 times
Post Reply