What is the home directory for assetManager.loadModel()?

Hi,



I just went through the starter tutorial, and I start coding a small project on JME. When I tried to load a model, I got a run-time warning for “Cannot locate resource”.



Just say, I have a model at this path “PROJECT HOME|assets|Models|Vehicles|Car.scene”

What parameter I should use in order to load the model? I have spent nearly half an hour to try every possibilities, none of them works. It drives me crazy!



And what if I have another model at the path of “PROJECT HOME|assets|Scenes|town|main.scene”?

Please someone help me.



Thanks very much,

Mystere

Have a look at

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_asset#the_asset_manager

and

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:jmonkeyplatform:model_loader_and_viewer#about_the_projects_assetmanager