I added a Node to my Model in SceneComposer, I wonder how to attach other spatials to Node I added. Can it be done by code?
You must first load that model by code, eg:
Node model = (Node) assetManager.loadModel("Model/myModel.j3o");
Once you have it, you can attach anything to any node in that model, eg:
Spatial otherModel = ...; model.attachChild(otherModel);
or, if you want to attach it to a subchild:
Anyway, you should take a look to the beginners tutorials in the wiki.
Thanks a lot, Got it:blush: