### Author Topic: transform array along path  (Read 844 times)

#### DrieDeeGraphics

• Newbie
• Posts: 5
##### transform array along path
« on: February 17, 2015, 01:32:09 PM »
Dear all

I'm trying to make a sound wall that transforms along a path.
In the attached file you can find the id of the wall en the result I modeled manual with snapshot.
Is there in anyway en numeric solution for this that you can define the path length and the element transforms automatically.

suggestions i had with wire parameter and an numeric expression.

Does anyone have an idea?

Gr Peter

#### Paul Roberts

• iToo Software
• Hero Member
• Posts: 1593
##### Re: transform array along path
« Reply #1 on: February 17, 2015, 01:54:25 PM »
Hi Peter,

Please find attached a possible solution. For this I've used a variable called XSplinePosition to return a scalar value between 0.0 and 1.0 to represent a segment's position along the spline. This is then multiplied by the angle range and added to the start angle to get the rotation value for each segment. The final expression is:

Input1+((Input2-Input1)*XSplinePosition) - Where Input 1 = the start angle and Input2 = the end angle.

I hope that helps, please let me know if you have further questions.

Kind regards,

Paul
Paul Roberts
iToo Software

#### Rokas

• iToo Software
• Hero Member
• Posts: 843
##### Re: transform array along path
« Reply #2 on: February 17, 2015, 02:00:20 PM »
in DrieDeeGraphics example segments curvature was variable too- not only pivot rotation...
Rokas
iToo Software

#### Paul Roberts

• iToo Software
• Hero Member
• Posts: 1593
##### Re: transform array along path
« Reply #3 on: February 17, 2015, 02:01:17 PM »
Hi Rokas,

Thanks I didn't spot that. I'll have another go

Cheers,

Paul
Paul Roberts
iToo Software

#### Paul Roberts

• iToo Software
• Hero Member
• Posts: 1593
##### Re: transform array along path
« Reply #4 on: February 17, 2015, 02:35:47 PM »
Hi again,

I'm afraid I don't think that deforming the source geometry in that way is currently possible. RailClone does not yet have a way to control or offset the animation on source objects or access their modifiers. This feature has been requested before and is on our wishlist for future updates. Please let us know if there are additional features you'd like to see added. Suggestions are always welcomed.

Many thanks,

Paul
Paul Roberts
iToo Software

#### DrieDeeGraphics

• Newbie
• Posts: 5
##### Re: transform array along path
« Reply #5 on: February 17, 2015, 02:55:18 PM »
Tanks for the update and fast reply.

Looking forward to this add on in the future..

Gr Peter