I am trying to make a dice animation for my little game.
When player click my dice, it is supposed to do a little jump “ONLY vertically” and stop at a random face(1-6).
My question is:
How do I restrict the animation not to change the (x,z) axis of the dice but only move along the y-axis (height) and do rotation.
Is it possible to control the dice result (e.g. specifying the face to show) while using the physics engine to do the jump animation?
thx