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

        // isReady and collisionListeners not written
        oc.write(ragdollMass, "ragdollMass", 1f);
        oc.write(centerLocation, "centerLocation", null);
        oc.write(centerVelocity, "centerVelocity", null);
    }
Serialize this control, for example when saving to a J3O file.

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