Hi
I am new to JME and currently is learning how to use it. I came across to see the wiki (http://www.jmonkeyengine.com/wiki/doku.php?id=controlling_the_vehicle) having tutorial talking about how to draw a vehicle. Now I have a general question. Is drawing a unit (e.g. military formation) the same way as drawing the vehicle? Or is there any similar tutorial talking about this?
Many thanks,
Hi, welcome to the forums.
The vehicle tests are more for testing (showing off) the physics. For just drawing a 'Military Unit' take a peak at the 'SharedNode' test ;).
Drawing anything is pretty much straightforward. You just call Renderer.draw() on your entire scene graph (which can include skies, terrain, buildings, units, and vehicles).