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

@param exporter (not null)
@throws IOException from the exporter
Serialize this Control 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 {
        super.write(exporter);
        OutputCapsule capsule = exporter.getCapsule(this);
        capsule.write(radius, tagRadius, 1f);
        capsule.write(height, tagHeight, 2f);
        capsule.write(mass, tagMass, 80f);
        capsule.write(jumpForce, tagJumpForce, null);
        capsule.write(physicsDamping, tagPhysicsDamping, 0.9f);
        capsule.write(duckedFactor, tagDuckedFactor, 0.6f);
        capsule.write(viewDirection, tagViewDirection, null);
        capsule.write(walkDirection, tagWalkDirection, null);
        capsule.write(rigidBody, tagBody, null);
    }
@ Override public void write ( JmeExporter exporter ) throws IOException { super . write ( exporter ) ; OutputCapsule capsule = exporter . getCapsule ( this ) ; capsule . write ( radius , tagRadius , 1f ) ; capsule . write ( height , tagHeight , 2f ) ; capsule . write ( mass , tagMass , 80f ) ; capsule . write ( jumpForce , tagJumpForce , null ) ; capsule . write ( physicsDamping , tagPhysicsDamping , 0.9f ) ; capsule . write ( duckedFactor , tagDuckedFactor , 0.6f ) ; capsule . write ( viewDirection , tagViewDirection , null ) ; capsule . write ( walkDirection , tagWalkDirection , null ) ; capsule . write ( rigidBody , tagBody , null ) ; }
Serialize this Control to the specified exporter, for example when saving
 to a J3O file.
Serialize this Control to the specified exporter for example when saving to a J3O file .