Home > other > Novice spent a week with unity3d dice, but unable to output digital (here are ideas), ask how to do
Novice spent a week with unity3d dice, but unable to output digital (here are ideas), ask how to do
Time:09-29
Learn a period of time before u3d, then what do you want to be a dice, dice idea 1: six surface to form a dice, and then click the mouse or the output y value of the biggest names; But don't know how to determine y values are equal and output a name Dice idea 2: a cube, the output at the top of the name; But don't know how to identify each face Dice thinking 3: do 6 cube, each cube through a fixed output cartoon a fixed value, enter a command to operate any dice; But don't know how to type in a letter to stochastic control a dice
CodePudding user response:
Number 6 random a number, get the dice rotation Angle, to do animation, random number shown above,