ground.createFixture(shape, 0);
shape.setAsBox(2.0f, 0.1f, new Vec2(-6.0f, -2.8f), 0.1f);
ground.createFixture(shape, 0);
CircleShape cd = new CircleShape();
cd.m_radius = 0.5f;
cd.m_p.set(-0.5f, -4.0f);
ground.createFixture(cd, 0);
}
liquid = new Body[nParticles];
float massPerParticle = totalMass / nParticles;
// PointDef pd = new PointDef();
// pd.mass = massPerParticle;
// pd.restitution = 0.0f;
// pd.filter.groupIndex = -10;
CircleShape pd = new CircleShape();
FixtureDef fd = new FixtureDef();
fd.shape = pd;
fd.density = 1f;
fd.filter.groupIndex = -10;
pd.m_radius = .05f;