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

@param importer (not null)
@throws IOException from the importer
De - serialize this object 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);
        collisionGroup = capsule.readInt(tagCollisionGroup, COLLISION_GROUP_01);
        collideWithGroups = capsule.readInt(tagCollisionGroupsMask,
                COLLISION_GROUP_01);
        debugMeshNormals = capsule.readEnum(tagDebugMeshNormals,
                DebugMeshNormals.class, DebugMeshNormals.None);
        debugMeshResolution = capsule.readInt(tagDebugMeshResolution, 0);
        debugMaterial = (Material) capsule.readSavable(tagDebugMaterial, null);
        Savable shape = capsule.readSavable(tagCollisionShape, null);
        collisionShape = (CollisionShape) shape;
        /*
         * The subclass should create the btCollisionObject and then
         * invoke readPcoProperties() .
         */
    }
@ Override public void read ( JmeImporter importer ) throws IOException { InputCapsule capsule = importer . getCapsule ( this ) ; collisionGroup = capsule . readInt ( tagCollisionGroup , COLLISION_GROUP_01 ) ; collideWithGroups = capsule . readInt ( tagCollisionGroupsMask , COLLISION_GROUP_01 ) ; debugMeshNormals = capsule . readEnum ( tagDebugMeshNormals , DebugMeshNormals . class , DebugMeshNormals . None ) ; debugMeshResolution = capsule . readInt ( tagDebugMeshResolution , 0 ) ; debugMaterial = ( Material ) capsule . readSavable ( tagDebugMaterial , null ) ; Savable shape = capsule . readSavable ( tagCollisionShape , null ) ; collisionShape = ( CollisionShape ) shape ; /*
         * The subclass should create the btCollisionObject and then
         * invoke readPcoProperties() .
         */ }
De-serialize this object from the specified importer, for example when
 loading from a J3O file.
De - serialize this object from the specified importer for example when loading from a J3O file .