Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: RC2292 on November 19, 2019, 11:48:55 PM

Title: Expression for height of nested 1S = dist from start of 1S to planes surface
Post by: RC2292 on November 19, 2019, 11:48:55 PM
Fingers crossed someone can tell me if this is possible.

I would want to drive the X Size (height) of the Linear 1S2 in the attached screen grab to be the distance of the Linear 1S2 start to the surface of the plane.

Any ideas/help would be greatly appreciated.
Title: Re: Expression for height of nested 1S = dist from start of 1S to planes surface
Post by: Paul Roberts on November 20, 2019, 01:56:06 PM
Hi, thanks for the contacting us.

Please take a look at the attached file. I uses an expressions to find the Z position of the segment on the spline to drive the size of a nested generator. The length is actually in relation to the RailClone's position in world spave. The plane is just for illustration.

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

Paul
Title: Re: Expression for height of nested 1S = dist from start of 1S to planes surface
Post by: RC2292 on November 20, 2019, 04:18:31 PM
Spot on Paul! Thank you exactly what I was after.