How do I load in an OBJ without using Assets.jar?

I dislike the JMP and do not want to be bothered to have to continually updating some assets.jar file everytime I want to test out a model in my program. I want to load in an OBJ, which is located in the root folder of the project I am working on in Eclipse (so it is in the same folder as where the it runs from). I just want to dump all my objs in a folder on my HDD and load them in, it used to be done in JME2.

Here’s what I’m trying to do.

Node pgfx = (Node) assetManager.loadModel("/colo.obj");


pgfx.setLocalTranslation(new Vector3f(0,-50,0));



I have also tried loading in “C:Documents…workspacecolo.obj”);[]=registerlocator

xD Please don’t come to us when you want to deploy your application. And btw you can just start the main java file by right-clicking it, you don’t have to trigger the whole build process each time in jMP ^^

1 Like

Either add a folder to your classpath and load the assets from there or add the file to the export dec. then load it without the leading slash.