Hallo,
Does anybody know how to set the collisionConfigurations in order to have all three:
SoftBody + SoftBody collisions
and
RigidBody + RigidBody collisions
and
RigidBody + RigidBody collisions
simultaneously?
I took a look at the SoftDemo example code, Now I can set SoftBody + RigidBody collisions (as well as rigid-rigid body collisions), however, I cannot get the soft-soft collisions to work.
Regards,
Ehsan
[SoftBody+SoftBody] Collisions [HELP!]
-
- Posts: 72
- Joined: Mon Dec 02, 2013 4:13 pm
Re: [SoftBody+SoftBody] Collisions [HELP!]
I found it:
once you have set the settings as noted in "SoftDemo"
just add
before adding the softbody to the world.
There is no need to register new collision algorithm.
Ehsan
once you have set the settings as noted in "SoftDemo"
just add
Code: Select all
softBody->m_cfg.collisions |= btSoftBody::fCollision::VF_SS;
There is no need to register new collision algorithm.
Ehsan