the collsion system use some small penetration to calculate contacts, I believe the value is defined by const
DG_RESTING_CONTACT_PENETRATION dgFloat32 (1.0f / 256.0f)
in a metric system this is about 4 millimeters
what this means is that when tow objects collide any contact penetration smaller that that is considered no penetration
because this is an abolsute value, what it mean is that for a small objecv that penetration will look bigger than for a smaller object.
in your image the top penetration seem a lot more than that, but when I load the .bin file I do no see that kind of penetration, with or with auto sleep
- badImage.png (777.89 KiB) Viewed 4113 times
are you sure it is no an illation because of eth wire frame crossing?
also the penetration can be controlled by setting the contact thickness beteeen the materials
void NewtonMaterialSetSurfaceThickness (const NewtonWorld* const newtonWorld, int id0, int id1, dFloat thickness);
if you set the to 1/256 then the collision will have zero penetration, however remember that contact are consider to have zero thickness if the are with in a distance of DG_RESTING_CONTACT_PENETRATION
along the contact normal.
also It has being a long time since I test that feature I believe it is still value, if not I fixed it. It is a matter to add that to the actual penetration in the place that is use, but I believe it should still work.