Greetings!
I’ve just started with jMonkeyEngine a few days ago. Right now I’m trying to understand how nodes work in jME following a few tutorials, but for some reason my code doesn’t work when I create a new node.
When I add these two lines at the end of my simpleInitApp() method, it gives me an error:
Node pivot = new Node("pivot");
rootNode.attachChild(pivot);
Also I have tried:
pivot = new Node("pivot");
rootNode.attachChild(pivot);
and:
Node pivot = new Node("pivot node");
rootNode.attachChild(pivot);
I’m running jME on a Debian Wheezy.
Does anybody know what am I doing wrong?
Thanks!!!