public void setMass(String boneName, float mass) {
        if (torsoName.equals(boneName)) {
            torsoMass = mass;
        } else if (hasBoneLink(boneName)) {
            blConfigMap.put(boneName, mass);
        } else {
            String msg = "No bone/torso named " + boneName;
            throw new IllegalArgumentException(msg);
        }
    }
Alter the mass of the named bone/torso.

@param boneName the name of the bone, or torsoName (not null)
@param mass the desired mass (&gt;0)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacConfiguration.java