@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);

        oc.write(damping, "damping", 0.6f);
        oc.write(eventDispatchImpulseThreshold, "eventDispatchImpulseThreshold",
                0f);

        int count = countLinkedBones();
        String[] linkedBoneNames = new String[count];
        RangeOfMotion[] roms = new RangeOfMotion[count];
        float[] blConfigs = new float[count];
        int i = 0;
        for (Map.Entry<String, Float> entry : blConfigMap.entrySet()) {
            linkedBoneNames[i] = entry.getKey();
            roms[i] = jointMap.get(entry.getKey());
            blConfigs[i] = entry.getValue();
            ++i;
        }
        oc.write(linkedBoneNames, "linkedBoneNames", null);
        oc.write(roms, "linkedBoneJoints", null);
        oc.write(blConfigs, "blConfigs", null);

        oc.write(torsoMass, "torsoMass", 1f);
        oc.write(gravityVector, "gravity", null);
    }
Serialize this control, for example when saving to a J3O file.

@param ex exporter (not null)
@throws IOException from exporter
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacConfiguration.java