Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: suppenhuhn on March 04, 2018, 12:24:43 PM

Title: Object with multiple Array 2S Generators - one Generator only 50% Pathlength ?
Post by: suppenhuhn on March 04, 2018, 12:24:43 PM
Hi,
my RC-Object is using multiple Array 2S Generators. I got stuck on the part when one A2S generator should follow the path only to the middle ( 50% of path-length ).
Now i'm dealing with it and add a padding right to this A2S manually - is there a way to solve this automatically ?
Thanks in advance:)
Title: Re: Object with multiple Array 2S Generators - one Generator only 50% Pathlength ?
Post by: Michal KarmazĂ­n on March 06, 2018, 04:32:42 PM
Hi,

Using the Conditional Operator in the Position on Spline - Less than 50% mode should do the trick. Also, you can get the desired value based on the measurement of the following expression within the Arithmetic Operator:

return XSectionLength;

Once divided as needed (in your case by two) it can drive the Right Padding value of a Transform Operator wired to the Right Side Input. Attaching sample scenes. Hope you'll find them useful.

Best regards,
Title: Re: Object with multiple Array 2S Generators - one Generator only 50% Pathlength ?
Post by: suppenhuhn on March 09, 2018, 09:01:46 AM
Tahnk you so much!!! Awesome support as usual  :)