Hi! I’ve got little problem. I’m working on Tank game, where we steering tank in similar way like in Battlefield game series, simple rotating turret in X axis, changing gun elevation in Y axis, and hull rotating in Z axis.
I figured out 2 ideas:
- Single model, separated into 3 objects, (hull, turret, gun), but when i load obj file, jme3 render only hull. I don’t k’now how to manage rotatation and animation of those 3 parts (should I use bones?)
- 3 separated models of hull, turret, gun, but i’ve got no idea how to “combine” them in the code…
I prefer 2nd way, because I feel more comfortable with programming than 3d artist…
Could you post me some code, functions or tutorial? Becaouse i didn’t found answer in Basic Tutorials and forum posts.