New answers tagged jmonkeyengine
The solution is actually quite easy. The .attachChild() method of the rootNode object only accepts Nodes as it's argument. Therfore, a Geometry object must be created with the line object as its second arguement. In addition, you can also set its material afterwards. An example: Line line = new Line(new Vector3f(0, 0, 0), new Vector3f(0, 100, 0)); ...
Top 50 recent answers are included