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,

CodePudding user response:

reference 1st floor 沋 hk reply:
6 number a random number, dice rotation Angle, to do animation, random number shown above,
well,,, can, I can probably do this; But if I don't to optimize the tied an empty object, named for each face on the cube, and then with ray, print name, don't know what is going on the way to,,,
  • Related