Answers for "Random drop rate problem"
http://answers.unity.com/questions/680808/random-drop-rate-problem.html
The latest answers for the question "Random drop rate problem"Answer by HarshadK
http://answers.unity.com/answers/680844/view.html
Because your Random.Range function takes integers as input it returns an integer.
And as per this page <a href="http://docs.unity3d.com/Documentation/ScriptReference/Random.Range.html">Random.Range script reference</a>, it is always outputing zero, which is always less than dropRate.
Hence, you always get a drop.
Use float values for min and max range to get random float number.
Cheers!Sat, 05 Apr 2014 12:13:00 GMTHarshadKAnswer by Jun Hin
http://answers.unity.com/answers/680827/view.html
Your Random.Range numbers need to be floats, not integers. So your if statement should look like this: ` if(Random.Range(0f,1f) <= dropRate)`Sat, 05 Apr 2014 12:12:43 GMTJun Hin