I was trying to run simple ball on cloth experiment (I let a square mesh fall on sphere) to run on NVCloth. The cloth is able to detect and collide with ball but the self collision fails. I read some where that I had to set the setSelfCollisionDistance and setSelfCollisionDistance to non-zero. I did that but the self collision still does not happen, the cloth simply pass through itself.
Am I missing something here, do I need to do something extra to make sure cloth self collision is triggered?
// Code part
cloth->setSelfCollisionDistance(0.1f); // I tried number between 0-1
cloth->setSelfCollisionStiffness(0.1f); // I tried number between 0-1
// phase config that I used
phases[i].mStiffness = 0.1f;
phases[i].mStiffnessMultiplier = 1.0f;
phases[i].mCompressionLimit = 1.0f;
phases[i].mStretchLimit = 1.0f;