Question by
arjunh · Nov 01, 2016 at 10:06 AM ·
unity 5rotationtransform.rotationeuler angles
i have a spin wheel and a button when i click the button i need to rotate the wheel for a certain period,each time the rotation speed should be random
i have the whole wheel divided into ten colours so each time after the wheel stops ,it should end in a random number
Comment
you could either use a rigidbody with differences in angularvelocity and/ or different AddTorque calls.
Or randomize the the value with which you initialize the rotation.
Your answer
![](https://koobas.hobune.stream/wayback/20220612095817im_/https://answers.unity.com/themes/thub/images/avi.jpg)