Itoo Software Forum

Author Topic: Expression for height of nested 1S = dist from start of 1S to planes surface  (Read 1254 times)

RC2292

  • Jr. Member
  • **
  • Posts: 63
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.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
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
Paul Roberts
iToo Software

RC2292

  • Jr. Member
  • **
  • Posts: 63
Spot on Paul! Thank you exactly what I was after.