Instead, use(faster and no out-of-bounds or loops & branching), for -1 to just under 1: float x = (Random.value + Random.value + Random.value) * 0.666666 - 1 Or for between 0 and just under 1, use: float x = (Random.value + Random.value + Random.value) * 0.333333 For a less curved distribution, but even faster, just do: Random.value+Random.value. This can be adapted for integer random numbers too - just add two or three(or more) integer ranges(starting from 0) that sum to the total you want. The more you add together, the more heavily clumped values are around the middle, and less at the extremes.
Hi I loved vertigo and vertigo 2 :)
Never thought about this. Thanks for sharing.
Instead, use(faster and no out-of-bounds or loops & branching), for -1 to just under 1:
float x = (Random.value + Random.value + Random.value) * 0.666666 - 1
Or for between 0 and just under 1, use:
float x = (Random.value + Random.value + Random.value) * 0.333333
For a less curved distribution, but even faster, just do: Random.value+Random.value.
This can be adapted for integer random numbers too - just add two or three(or more) integer ranges(starting from 0) that sum to the total you want. The more you add together, the more heavily clumped values are around the middle, and less at the extremes.
you best of the best!
love these!
Hi! When can we expect Vertigo 3? I love your games! 😉
9 year
There will be no 3, only Vertigo 2 Episode 1 and 2
@@magma5267 😂
@@magma5267 Vertigo 2 epistle 3 when
This is cool
Do one on PID controllers. Thx. ❤
Promo_SM ✌️
cool
What is bro babbaling about
cool tip