Keep distance between colliding objects

Hi there.

I have a glass with some objects in it, and I need to keep distance (let's say, 2 mm) between objects. Is there a way to do this? And if there is, then how?
Look up b2DistanceJoint. You can also just apply separating forces to each pair of objects, but I think that the joint will work better with keeping up the separating force during each of the b2World's position/velocity solve iterations.
Thanks, but I have one more question.
Manual for Box2d says:
Quote:
Polygons inherit a radius from b2Shape. The radius creates a skin around the polygon. The skin is used in stacking scenarios to keep polygons slightly separated. This allows continuous collision to work against the core polygon.

So, there is a "skin" around objects, that created by some radius from b2Shape. Can I change this radius in my program? Or is it const? And if I can, then how to do it? Coz if I can change it in my program it will perfectly fit my tasks.
Why don't you create the shapes bigger than the graphics that you will be displaying? That would give you a skin.

Original thread: https://box2d.org/forum/viewtopic.php?t=8834