Special case soft collisions with odejava?

I have physics update code that looks like this:

collision.collide(space); Contact contact = new Contact( collision.getContactIntBuffer(), collision.getContactFloatBuffer()); for (int i = 0; i < collision.getContactCount(); i++) { contact.setIndex(i); Geom geo1 = contact.getGeom1(); Geom geo2 = contact.getGeom2(); /// note- getName crashes when there is no name if ((geo1.getName().equals("bomb")) || (geo2.getName().equals("bomb"))) { contact.setSoftErp(0); contact.setSoftCfm(1); //contact.ignoreContact(); // this works } }

I’d like the collision between a “bomb” and any other object to be gentle relative to how other objects behave after they collide, but setSoftErp() and setSoftCfm() don’t seem like they are changing the simulation much (or my values aren’t correct.

Is this the correct way of achieving that special case soft collision, or should I be doing something else? One thing that works is ignoreContacts(), but that’s not what I want to do.

Thanks,

bm