Node r = jbr.loadBinaryFormat(new ByteArrayInputStream(BO .toByteArray())); r.setLocalScale(.1f); if (r.getChild(0).getControllers().size() != 0) r.getChild(0).getController(0).setSpeed(20);
Node r1 = (Node)BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));    r1.setLocalScale(.1f); if (r1.getChild(0).getControllers().size() != 0) r1.getChild(0).getController(0).setSpeed(20);
    protected void simpleInitGame() {        if (modelToLoad == null) {            TestMaxJmeWrite.class.getClassLoader().getResource(                    "jmetest/data/model/Character.3DS");        }        try {            MaxToJme C1 = new MaxToJme();            ByteArrayOutputStream BO = new ByteArrayOutputStream();            C1.convert(new BufferedInputStream(modelToLoad.openStream()), BO);            JmeBinaryReader jbr = new JmeBinaryReader();            jbr.setProperty("bound", "box");            jbr.setProperty("texurl", modelToLoad);            Node r = jbr.loadBinaryFormat(new ByteArrayInputStream(BO                    .toByteArray()));            r.setLocalScale(.1f);            if (r.getChild(0).getControllers().size() != 0)                r.getChild(0).getController(0).setSpeed(20);            Quaternion temp = new Quaternion();            temp.fromAngleAxis(FastMath.PI / 2, new Vector3f(-1, 0, 0));            rootNode.setLocalRotation(temp);            rootNode.attachChild(r);        } catch (IOException e) {            System.out.println("Damn exceptions:" + e);            e.printStackTrace();        }    }