Hi all
I am trying jMonkeyEngine out and is trying to learn how to make some small games with it. I am having a problem. I have a simple rectangular cube which is my intention that the player should be able to roll around the gameworld.
When he presses the arrow keys the cube should make a roll towards the way the user pressed the array key, so if he presses the right arrow key, the cube rolls 1 WU to the right.
The problem is not to move the cube, which I can du with the move() method, but my problem is how I make this rotation effect so it doesn’t look like the cube is moving to the destination, but is actually rolling.
The rolling effect should be like the cube in this game -
Hopes anyone can help me :)