MinieLibrary/src/main/java/com/jme3/bullet/animation/PhysicsLink.java
/**
     * De-serialize this link from the specified importer, for example when
     * loading from a J3O file.
     *
     * @param importer (not null)
     * @throws IOException from the importer
     */
De-serialize this link from the specified importer, for example when
loading from a J3O file.

@param importer (not null)
@throws IOException from the importer
De - serialize this link from the specified importer for example when loading from a J3O file . @param importer ( not null ) @throws IOException from the importer
@Override
    @SuppressWarnings("unchecked")
    public void read(JmeImporter importer) throws IOException {
        InputCapsule capsule = importer.getCapsule(this);
        ikControllers = capsule.readSavableArrayList(tagIkControllers,
                new ArrayList(1));
        children = capsule.readSavableArrayList(tagChildren, new ArrayList(1));
        armatureJoint = (Joint) capsule.readSavable(tagArmatureJoint, null);
        bone = (Bone) capsule.readSavable(tagBone, null);
        control = (DacLinks) capsule.readSavable(tagControl, null);
        blendInterval = capsule.readFloat(tagBlendInterval, 1f);
        kinematicWeight = capsule.readFloat(tagKinematicWeight, 1f);
        joint = (PhysicsJoint) capsule.readSavable(tagJoint, null);
        parent = (PhysicsLink) capsule.readSavable(tagParent, null);
        rigidBody = (PhysicsRigidBody) capsule.readSavable(tagRigidBody, null);
        kpTransform = (Transform) capsule.readSavable(tagKpTransform,
                new Transform());
        kpVelocity
                = (Vector3f) capsule.readSavable(tagKpVelocity, new Vector3f());
        localOffset = (Vector3f) capsule.readSavable(tagLocalOffset,
                new Vector3f());
        rigidBody.setUserObject(this);
    }
@ Override @ SuppressWarnings ( "unchecked" ) public void read ( JmeImporter importer ) throws IOException { InputCapsule capsule = importer . getCapsule ( this ) ; ikControllers = capsule . readSavableArrayList ( tagIkControllers , new ArrayList ( 1 ) ) ; children = capsule . readSavableArrayList ( tagChildren , new ArrayList ( 1 ) ) ; armatureJoint = ( Joint ) capsule . readSavable ( tagArmatureJoint , null ) ; bone = ( Bone ) capsule . readSavable ( tagBone , null ) ; control = ( DacLinks ) capsule . readSavable ( tagControl , null ) ; blendInterval = capsule . readFloat ( tagBlendInterval , 1f ) ; kinematicWeight = capsule . readFloat ( tagKinematicWeight , 1f ) ; joint = ( PhysicsJoint ) capsule . readSavable ( tagJoint , null ) ; parent = ( PhysicsLink ) capsule . readSavable ( tagParent , null ) ; rigidBody = ( PhysicsRigidBody ) capsule . readSavable ( tagRigidBody , null ) ; kpTransform = ( Transform ) capsule . readSavable ( tagKpTransform , new Transform ( ) ) ; kpVelocity = ( Vector3f ) capsule . readSavable ( tagKpVelocity , new Vector3f ( ) ) ; localOffset = ( Vector3f ) capsule . readSavable ( tagLocalOffset , new Vector3f ( ) ) ; rigidBody . setUserObject ( this ) ; }
De-serialize this link from the specified importer, for example when
 loading from a J3O file.
De - serialize this link from the specified importer for example when loading from a J3O file .