I am trying to create a 3D dice for a game. Normal dice has been created by setting cube for dice with Rigidbody and apply force to throw a dice.
Now the problem is, the user wants to give a value 1 - 6 in the text box then they will press the roll button. The dice have to rotate and need to show the dice value as the user enters in the text field once it stops rolling.
For example:
- In the Input box the value entered as 5,
- Now the dice want to roll on the table and show the value as 5.
Anyone, please help me to solve this
Thanks in Advance