Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: FP1432 on July 10, 2015, 05:20:44 PM
-
I try to increment a rotation. Is this possible?
Thank
-
Hi!
You can do this with RailClone using expressions. XSplinePosition returns a scalar between 0 and 1 that you can use to increment a rotation value based on a segment's position in the array. I've attached an example that lets you set a start and end rotation and interpolates between the two along the spline's length.
I hope that helps out but if you have any more questions please let me know.
Many thanks,
Paul
-
Thank a lot Paul.
This is what I feared. One thing very simple, impossible without expressions. This is not normal :-[. Fortunately your file should help me :). Thanks again
-
No problem at all. I understand that writing expressions isn't for everyone. If you'd prefer to create this effect using nodes, you can simply input just the XSplinePosition Variable on it's own in an arithmetic operator. This will then act as though we had added an operator that performs that function, and you can build the rest of the equation using additional arithmetic, constant and variable nodes. Personally I find writing an expression neater but I know many people prefer to stay node based. See attached for the same expression created in this way.
Cheers!
Paul
-
Thank you. I prefer the first solution... Alas for me :o.
-
Thank you. I prefer the first solution... Alas for me :o.
You shouuld try expressions, this is not overly complicated and it takes RC to the next level !