New answers tagged jmonkeyengine
Conceptually, you can do that by animating the rotation of the cube (or as in Bloxorz, a cuboid) 90 degrees around one of its edges. You don't need move() at all! Side-on view of one rotation: Here's a seriously good JMonkeyEngine tutorial showing you how to rotate Boxes around pivot Nodes. It explains everything step-by-step. These are the important ...
You should change this: mypic.setTexture(assetManager, tex, false); to this: mypic.setTexture(assetManager, tex, true); to show a picture with an alpha channel. The third parameter is useAlpha, which, if set to false will just render your transparent/translucent pixels as black.
Top 50 recent answers are included