i have a softbody that I am splitting and adding tetras to. when i do that, i notice that self collisions don't really work. for example, the tip of a recently split tetra penetrates the neighboring tetras.
when i modify my softbody by splitting and adding elements, do i need to update something related to collisions or something?
when i modify softbody, self collisions not working
-
- Posts: 4
- Joined: Thu Jul 17, 2014 2:12 am
-
- Posts: 4
- Joined: Thu Jul 17, 2014 2:12 am
Re: when i modify softbody, self collisions not working
went through some code again.
after i split and add elements, i generate clusters again
psb->generateClusters(0);
is there anything else in addition to this that i should be doing?
do i need to update softBodyWorldInfo.m_broadphase?
after i split and add elements, i generate clusters again
psb->generateClusters(0);
is there anything else in addition to this that i should be doing?
do i need to update softBodyWorldInfo.m_broadphase?