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

        oc.writeSavableArrayList(children, "children", null);
        oc.write(bone, "bone", null);
        oc.write(control, "control", null);
        oc.write(blendInterval, "blendInterval", 1f);
        oc.write(kinematicWeight, "kinematicWeight", 1f);
        oc.write(joint, "joint", null);
        oc.write(parent, "parent", null);
        oc.write(rigidBody, "rigidBody", null);
        oc.write(kpTransform, "kpTransform", null);
        oc.write(kpVelocity, "kpVelocity", null);
        oc.write(localOffset, "offset", null);
    }
Serialize this link, 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/PhysicsLink.java