Hide mesh from scene file

Hi guys,

is there a a way to hide a mesh after i have loaded a scene file??

Thank’s.

I have tried this https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:spatial but not working!! why??

Exactly what have you tried? I think some code would give us some more information.

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:scenegraph_for_dummies

Simply, i have loaded a scene file in this way :



Spatial gameLevel = assetManager.loadModel(“Scenes/prova/Scene.scene”);



and what i want to do is retrieve a mesh named “cemsdi” and hide this.

fabbio said:
Simply, i have loaded a scene file in this way :

Spatial gameLevel = assetManager.loadModel("Scenes/prova/Scene.scene");

and what i want to do is retrieve a mesh named "cemsdi" and hide this.


https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:scenegraph_for_dummies