Search found 1 match

by edwardsjethro
Tue Mar 12, 2024 3:45 am
Forum: General Discussion
Topic: Create a global value that randomly switches between -1 and 1
Replies: 1
Views: 1156

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

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.