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

@param importer (not null)
@throws IOException from the importer
De - serialize this shape from the specified importer for example when loading from a J3O file . @param importer ( not null ) @throws IOException from the importer
@Override
    public void read(JmeImporter importer) throws IOException {
        InputCapsule capsule = importer.getCapsule(this);
        Savable s = capsule.readSavable(tagScale, new Vector3f(1f, 1f, 1f));
        scale.set((Vector3f) s);
        margin = capsule.readFloat(tagMargin, 0.04f);
    }
@ Override public void read ( JmeImporter importer ) throws IOException { InputCapsule capsule = importer . getCapsule ( this ) ; Savable s = capsule . readSavable ( tagScale , new Vector3f ( 1f , 1f , 1f ) ) ; scale . set ( ( Vector3f ) s ) ; margin = capsule . readFloat ( tagMargin , 0.04f ) ; }
De-serialize this shape from the specified importer, for example when
 loading from a J3O file.
De - serialize this shape from the specified importer for example when loading from a J3O file .
// subclass must create the btCollisionShape and apply margin and scale