Brandon McCartney

Callmedude88

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

random number in a switch ? 2018年3月27日15:43

I'm new to houdini and expressions in general, but found this formula to work for one of my switches…

round(rand($F* 0.1)*3)

… if you have more than 4 switch connection, say you have 15, then you could change the formula to this…

round(rand($F* 0.1)*14)

This expression allows for random whole numbers from 0 to 14. A total of 15.

Cheers?