ITOOSOFT Forum

RailClone => RailClone Pro (*) => Topic started by: rivoli on October 09, 2025, 10:16:12 am

Title: stepped random translation
Post by: rivoli on October 09, 2025, 10:16:12 am
Hi,

is there a way to have random variation in the translation of a segment, but constrained by a number of specified values, instead of a random range?
I have segments in a line, and would like to randomize their translation on the x axis, but only based on a set of specified distances.

Thanks
m
Title: Re: stepped random translation
Post by: Michal KarmazĂ­n on October 09, 2025, 10:54:15 am
Hi,

For this purpose, you can use the Value List (https://docs.itoosoft.com/railclone/style-editor/parameters/value-list) parameter. Set the Selector to Index, export this parameter, and control it with a Random (https://docs.itoosoft.com/railclone/style-editor/parameters/random) parameter. I hope this helps.

Best regards,
Title: Re: stepped random translation
Post by: rivoli on October 09, 2025, 11:10:07 am
Thanks! works perfectly