Did someone try to make a cloth tear when much force is applied to any node like in this physx video :
http://www.youtube.com/watch?v=zgWur7HaIks
In the demo SoftDemo.cpp, we can see that when we click on the mouse without dragging, the cloth is "refined".
softDemo's mouseFunc( ) :
Code: Select all
if((!m_drag)&&m_cutting&&(m_results.fraction<1.f))
{
ImplicitSphere isphere(m_impact,1);
printf("Mass before: %f\r\n",m_results.body->getTotalMass());
m_results.body->refine(&isphere,0.0001,true);
printf("Mass after: %f\r\n",m_results.body->getTotalMass());
}
Or do we have to do it ourself ? :'(