jMonkeyEngine Hub
How to give a node(Spatial) a position?
Troubleshooting
graphics
redneck27
March 1, 2010, 1:22pm
1
hello guys,
rootNode.attachChild(r);
How can i specify the location of in this instance r?
Regards
R
normen
March 2, 2010, 1:08pm
2
r.setLocalTranslation(new Vector3f(x,y,z));
I recommend going through the tutorials to learn about jme and the sceneraph.