Hi!

I'm trying to distribute some playing cards along a spline, so that they get smaller as they travel through the spline.

I managed that by using an arithmetic Operator with this expression: return (XSplinePosition*100)+10; and a transform modifier with the 3 scale parameters exported. (the smaller cards will be scaled to 10%)

That works fine for the scale. The problem I have is that I want the cards to be superimposed a little one over another, so I don't use the Linear 1S in default, I have it set to evenly, and play with the left padding on the segment. This causes the problem you can see in the file, I have a lot of cards on the start of the spline but to few at the end.

The ideal thing would be to have the left padding set at 150cm at the start of the spline and at 0cm at the end. I tried doing another arithmetic operation with return XSplinePosition*150; but i don't know why it doesn't work.

Any help would be really apreciated!

I'm trying to distribute some playing cards along a spline, so that they get smaller as they travel through the spline.

I managed that by using an arithmetic Operator with this expression: return (XSplinePosition*100)+10; and a transform modifier with the 3 scale parameters exported. (the smaller cards will be scaled to 10%)

That works fine for the scale. The problem I have is that I want the cards to be superimposed a little one over another, so I don't use the Linear 1S in default, I have it set to evenly, and play with the left padding on the segment. This causes the problem you can see in the file, I have a lot of cards on the start of the spline but to few at the end.

The ideal thing would be to have the left padding set at 150cm at the start of the spline and at 0cm at the end. I tried doing another arithmetic operation with return XSplinePosition*150; but i don't know why it doesn't work.

Any help would be really apreciated!