@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule capsule = ex.getCapsule(this);
        capsule.write(location, "location", new Vector3f());
        capsule.write(rotation, "rotation", new Matrix3f());
        capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
    }
Serialize this shape, for example when saving to a J3O file.

@param ex exporter (not null)
@throws IOException from exporter
jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/infos/ChildCollisionShape.java