RailClone > RailClone Lite
Expression for Weighted Randomization
(1/1)
SeanRedmond:
I'm trying to write an expression or node group that will let me select from input segments randomly, but with weights for added control.. I could use a selector and double up inputs but that doesn't allow as much control + gets pretty clunky. Does anyone have any solutions? Here is the solution I'm trying to translate to Railclone (and my poor attempt is there too).
https://imgur.com/sQDutex
https://imgur.com/S7ygL1x
Thanks!!
Paul Roberts:
HI,
If it's segments that you're trying to randomise, could you use the Random node? It already has built-in probability settings (called Presence)
Cheers,
Paul
SeanRedmond:
Well this is embarrassing ;D I had no idea that existed.
Thank you so much!
Navigation
[0] Message Index
Go to full version