Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: DrieDeeGraphics on February 17, 2015, 01:32:09 PM

Title: transform array along path
Post by: DrieDeeGraphics 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
Title: Re: transform array along path
Post by: Paul Roberts 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
Title: Re: transform array along path
Post by: Rokas on February 17, 2015, 02:00:20 PM
in DrieDeeGraphics example segments curvature was variable too- not only pivot rotation...
Title: Re: transform array along path
Post by: Paul Roberts on February 17, 2015, 02:01:17 PM
Hi Rokas,

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

Cheers,

Paul
Title: Re: transform array along path
Post by: Paul Roberts 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 (http://forum.itoosoft.com/index.php?topic=2621.0) 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
Title: Re: transform array along path
Post by: DrieDeeGraphics 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