Igor Q. 519 Posted February 2, 2019 Hi Could we please have a Random Min/Max options that does not use whole integers only? Thanks. Share this post Link to post Share on other sites
Houp 237 Posted February 2, 2019 Hi, you can use Random 0-1. If you need full range between 5 and 8 then just use <<Random 0-1> * <3>>+ <5> Share this post Link to post Share on other sites
Igor Q. 519 Posted February 2, 2019 2 minutes ago, Houp said: Hi, you can use Random 0-1. If you need full range between 5 and 8 then just use <<Random 0-1> * <3>>+ <5> Whats the decimal range? Share this post Link to post Share on other sites
Indomitus 388 Posted February 2, 2019 You could also do something like this: For a random between 0 and 10, with 2 decimal places, use Random 0-1000 then divide by 100. (Actually, if you want it to include 1000, you should Random 0-1001) Share this post Link to post Share on other sites
Igor Q. 519 Posted February 2, 2019 29 minutes ago, Indomitus said: You could also do something like this: For a random between 0 and 10, with 2 decimal places, use Random 0-1000 then divide by 100. (Actually, if you want it to include 1000, you should Random 0-1001) I already did this, but its cumbersome Share this post Link to post Share on other sites
Houp 237 Posted February 2, 2019 It uses: https://docs.unity3d.com/ScriptReference/Random-value.html so same as float number. Share this post Link to post Share on other sites