Page 1 of 1

Create a global value that randomly switches between -1 and 1

Posted: Tue Mar 12, 2024 3:45 am
by edwardsjethro
I want to create a global value that randomly switches between -1 and 1. Anyone know how to go about doing this? So far I've only managed to get a random number of 0 or -1 using random 1.0 and threshold of 0.5.

Re: Create a global value that randomly switches between -1 and 1

Posted: Tue Mar 12, 2024 8:10 pm
by Sadler
Screenshot 2024-03-12 200946.jpg
Screenshot 2024-03-12 200946.jpg (12.54 KiB) Viewed 1001 times