Search found 2 matches

by calvyno
Sun Jul 04, 2021 10:06 pm
Forum: General Discussion
Topic: How to Create a Random Number (-1 or 1)?
Replies: 3
Views: 5153

Re: How to Create a Random Number (-1 or 1)?

Thanks! Don't know why I didn't think of that expression, but it works!
by calvyno
Sun Jul 04, 2021 7:10 pm
Forum: General Discussion
Topic: How to Create a Random Number (-1 or 1)?
Replies: 3
Views: 5153

How to Create a Random Number (-1 or 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.