ITOOSOFT Forum
RailClone => RailClone Pro (*) => Topic started by: Sergey_Dobrij on May 06, 2023, 05:25:23 am
-
Hi all! I can't figure out why the expression isn't working properly. What could be the problem? Thank you in advance!
-
;D Yeah, been there... XplinePosition is not working as we expecting and expression like:
return
if(XSplinePosition==0,1,
if(XSplinePosition>0.98,3,2));
will work. But this is not a solution when you have values close to the value of 1.
So, workaround will be nested L1S Generator. With nested generator you'll get more control.
-
;D Yeah, been there... XplinePosition is not working as we expecting and expression like:
return
if(XSplinePosition==0,1,
if(XSplinePosition>0.98,3,2));
will work. But this is not a solution when you have values close to the value of 1.
So, workaround will be nested L1S Generator. With nested generator you'll get more control.
I thought so )). So I took the detour! Thank you for your help!
-
In this case, go with nested. Let me know if I can help.