Model Won't Appear

I’m trying to load the same model as in the Test Walking Char example. I’ve run the example and it works, however when I copy all relevant parts of the code into my own program I get no model. The only difference I see in my code is the name of my PhysicsCharacterNode variable.



During runtime of my program I notice the output;



[java]Oct 12, 2010 6:09:37 PM com.jme3.asset.DesktopAssetManager loadAsset

WARNING: Cannot locate resource: Models/Oto/Oto.skeleton.xml

Oct 12, 2010 6:09:37 PM com.jme3.scene.Node attachChild

INFO: Child (Oto-geom-1) attached to this node (Oto-ogremesh)

Oct 12, 2010 6:09:37 PM com.jme3.scene.Node attachChild

INFO: Child (Oto-ogremesh) attached to this node (null)

Oct 12, 2010 6:09:37 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Root Node)[/java]



However when I run the original I see the exact same output except the model appears and works.

I have the test-data library included and have tried moving it above the assets folder and below to see if it’s an issue of finding the resource. Moving them changes which one it refers to first correct?



I noticed that the oto.skeleton.xml is named oto.skeletonxml. Not knowing if this was intentional I tried changing the name, no difference.



Any help would be greatly appreciated! :slight_smile:

You have no light in your scene I guess.

1 Like

Normen… why you so smart? Absolutely nailed it, I had the light commented out from an earlier experiment… Man… you astonished me right there haha. THANK YOU.

Normen reads minds. I’m pretty sure about it.