i’m setting a locator to the directory with the 3ds and images pics :
this.getAssetManager().registerLocator(“datas/ships/T-65”,
FileLocator.class);
Spatial model = assetManager.loadModel(“x-wing.3DS”);
rootNode.attachChild(model);
i’m setting a locator to the directory with the 3ds and images pics :
this.getAssetManager().registerLocator(“datas/ships/T-65”,
FileLocator.class);
Spatial model = assetManager.loadModel(“x-wing.3DS”);
rootNode.attachChild(model);