btMultiBody + softbody
-
- Posts: 9
- Joined: Fri Sep 26, 2014 3:31 am
btMultiBody + softbody
I notice that there are separate worlds for softbodies and btMultiBody. Is it possible to have a world where softbodies and multibodies co-exist and can collide with each other?
-
- Posts: 350
- Joined: Sat Jul 04, 2015 10:33 am
- Location: Bern, Switzerland
Re: btMultiBody + softbody
Simple answer is no. Since the btMultiBody is still in its early release (some methods do not work yet, such as limiting spherical joints and so on), we are far from seeing btMultibody and softbody collide. Your first question to yourself might be if you really need btMultibody instead of building your system based on btRigidBodies and bt...Constraints.
Another possiblility for you might be that you run a btMultibody world and a softbody simulation in parallel and you place btRigidBodies in your softbody simulation exactly where the link colliders are in your btMultiBody world. Then you apply the collision forces to the linkcolliders of the btMultibody appropriately if they collide with the softbody. But that might be harder to do than I just imagine it now (Force scaling discrepancies etc. not sure).
Another possiblility for you might be that you run a btMultibody world and a softbody simulation in parallel and you place btRigidBodies in your softbody simulation exactly where the link colliders are in your btMultiBody world. Then you apply the collision forces to the linkcolliders of the btMultibody appropriately if they collide with the softbody. But that might be harder to do than I just imagine it now (Force scaling discrepancies etc. not sure).