Logic nodes, math random numbers

03 June 2016 21:53 #9891
I'm just trying to create a random number between 1 and 3 (an integer). can I force it to integer?

Also does Operand 1 and Operand 2 need to be 1 and 2 respectively or 0 and 4 I'm a little confused by the description in the doc.

The way I currently have this setup it doesn't seem to be triggering one of the three routs.


03 June 2016 22:27 #9892
Hi Brian,

The random node generates floats so you can compare them and set a new integer variable accordingly.
Please take a look at my node setup:

P.S. Gratz on Webby!
Development Lead | Twitter
03 June 2016 22:57 #9894
Thanks, I'll try this and thanks for the Gratz
07 June 2016 21:31 #9993
Hey Yuri,

How about some keyboard control nodes for the next build - I'm really loving the logic nodes.

07 June 2016 22:10 #9995
I'll drop you a line.
Development Lead | Twitter
07 June 2016 22:14 #9996
Cool, have you seen these?

08 June 2016 14:50 #10004
have you seen these?
Nice! Good to see nodes everywhere.
Development Lead | Twitter
Please register or log in to leave a reply.