Page 1 of 1

when i modify softbody, self collisions not working

Posted: Thu Oct 23, 2014 6:42 pm
by stkeg
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?

Re: when i modify softbody, self collisions not working

Posted: Thu Oct 23, 2014 10:33 pm
by stkeg
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?