I am working on a Puzzle Bubble Type game in which I am making a body like this
FixtureDef Fd = PhysicsFactory.createFixtureDef(10f, 1f, 0.5f);
Body b = PhysicsFactory.createCircleBody(mPhysicsWorld, gb, BodyType.DynamicBody, Fd);
This is a body of a ball, the ball reflects perfectly which it collides with left and right walls but when it collides with top wall it makes a weld joint with the top wall and its type is set to static, when another ball collides with the above mentioned ball they makes a weld joint with each other. Making joints are working very well but when two balls collides with each other or with the top wall there becomes a distance between them which is I think because of elasticity factor. I want NOT to have that distance I want to connect them in a way with no distance between them. Please note that collide connected factor of weld joint is set to true. I have also attached an image to clarify my question. I don't want distances between balls. I am unable to find solution for this problem please help.