Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: Darwin Ceballos on October 23, 2014, 01:01:46 AM
-
Hi! Have managed to stack 3 planks with different width and equal length in an sequence = Ax2 , Bx2, Cx1
All planks has length of 360cm and I just want some randomization offset in X direction. How can I do this?
Thanks :)
(https://dl.dropboxusercontent.com/u/37750248/cap01.JPG)
(https://dl.dropboxusercontent.com/u/37750248/cap02.JPG)
-
Hi Darwin,
To add some X offset variation you can add a random value to the Left Padding property for the first board in every row. To do this I've used a conditional operator so that if Segment > X Counter = 1 returns true. Then in the True input slot added a Transform operator, connect the sequence operator, exported the left padding and connected a Random number parameter node. In the False input connect just the sequence operator. The finished style should look like this:
(http://lonelymonk.com/forum_images/7e462e1c307d4adeb477a3f066e0c9ea.jpg)
I've attached the scene file for you to check out. Please let me know if you have further questions.
Cheers,
Paul
-
Thank you so much for your help, just what I needed.
Cheers :)