Problems with softbody collision

timbo
Posts: 1
Joined: Thu Jul 28, 2011 8:46 am

Problems with softbody collision

Post by timbo »

I'm still fairly new and learning at this - some of the concepts aren't too familiar.

However, I've got a couple of problems with softbodies which I'm hoping someone will be able to help me with.

1. While softbody collisions happen with rigid bodies and the trimesh which is the ground, I also have a btFractureBody object which is eventually intended to fracture, which comes out as a btCompoundShape. When a softbody comes across this fracture body, it just melts through, without any collision. What must I do to make sure these actually collide.

2. I'm wanting to know exactly when bodies collide. I can find that for rigid bodies, using the code in the Wiki, but this does not detect the softbody. How can I get a callback, or otherwise detect, when a softbody collides with a rigid body or this fracturing body?

(This is all using CCD by the way)

Thanks for any help you can give