I have the Rin dice pack from the marketplace and im creating a RPG, i need to have the dice as a randomizer for many actions, so how can i have the top number of the dice show in the hud and how to use the randomized number to define something: like as damage and defence points and what enemies are approaching.
I’m not familiar with the rin dice pack. Hopefully it has a convenient variable or function that just tells you which number is on top but if not you will probably have to measure one of the following:
Forward Vector
Right Vector
Up Vector
World Rotation.
Look at the dice mesh assets and see which way the X arrow on their pivot is directed.
This usually will tell you what direction the Forward Vector will be pointing. So if the die tumbles to where that face would be pointing upward then your forward vector would probably be close to 1 in the Z axis, and 0 in the others.