MinieLibrary/src/main/java/com/jme3/bullet/animation/PhysicsLink.java
/**
     * Serialize this link to the specified exporter, for example when saving to
     * a J3O file.
     *
     * @param exporter (not null)
     * @throws IOException from the exporter
     */
Serialize this link to the specified exporter, for example when saving to
a J3O file.

@param exporter (not null)
@throws IOException from the exporter
Serialize this link to the specified exporter for example when saving to a J3O file . @param exporter ( not null ) @throws IOException from the exporter
@Override
    public void write(JmeExporter exporter) throws IOException {
        OutputCapsule capsule = exporter.getCapsule(this);
        capsule.writeSavableArrayList(ikControllers, tagIkControllers, null);
        capsule.writeSavableArrayList(children, tagChildren, null);
        capsule.write(armatureJoint, tagArmatureJoint, null);
        capsule.write(bone, tagBone, null);
        capsule.write(control, tagControl, null);
        capsule.write(blendInterval, tagBlendInterval, 1f);
        capsule.write(kinematicWeight, tagKinematicWeight, 1f);
        capsule.write(joint, tagJoint, null);
        capsule.write(parent, tagParent, null);
        capsule.write(rigidBody, tagRigidBody, null);
        capsule.write(kpTransform, tagKpTransform, null);
        capsule.write(kpVelocity, tagKpVelocity, null);
        capsule.write(localOffset, tagLocalOffset, null);
    }
@ Override public void write ( JmeExporter exporter ) throws IOException { OutputCapsule capsule = exporter . getCapsule ( this ) ; capsule . writeSavableArrayList ( ikControllers , tagIkControllers , null ) ; capsule . writeSavableArrayList ( children , tagChildren , null ) ; capsule . write ( armatureJoint , tagArmatureJoint , null ) ; capsule . write ( bone , tagBone , null ) ; capsule . write ( control , tagControl , null ) ; capsule . write ( blendInterval , tagBlendInterval , 1f ) ; capsule . write ( kinematicWeight , tagKinematicWeight , 1f ) ; capsule . write ( joint , tagJoint , null ) ; capsule . write ( parent , tagParent , null ) ; capsule . write ( rigidBody , tagRigidBody , null ) ; capsule . write ( kpTransform , tagKpTransform , null ) ; capsule . write ( kpVelocity , tagKpVelocity , null ) ; capsule . write ( localOffset , tagLocalOffset , null ) ; }
Serialize this link to the specified exporter, for example when saving to
 a J3O file.
Serialize this link to the specified exporter for example when saving to a J3O file .