How would I set three variable to the location of random values in an array of five, but they cannot go to the same value. All array values are vectors.
There are 2 ways to do so:
1. choose a random value
2. store it to a variable
3. remove the value from the array
4. go back to 1.
1. choose a random value from the array
2. if the value already is in a storage variable, go back to 1., else go to 3.
3. store the value in a variable
4. go back to 1.
1 Like