Hey guys! This is my first post on the forums. I've been learning railclone over the past few months and have been working on a script for a stone wall generator. My script is 98% complete except for an issue with local axis vs world axis of my splines. Here is the scenario...

I am using a nested L1S array to generate base objects for an A2S array. When my spline is oriented along the "X-Axis (world)" everything works fine. However, any spline NOT oriented to the "X-Axis (world)", blows up. I created a numeric input (float) to transform the "Z-Rotation", but this is very limiting and is not parametric.

I think the solution is trying to extract the coordinates from the spline to find it's position, then apply that rotation to my transform node. Is this possible to do with an arithmetic expression? This part of my script has stumped me... can you guys help?

Thanks!

-Dan

I am using a nested L1S array to generate base objects for an A2S array. When my spline is oriented along the "X-Axis (world)" everything works fine. However, any spline NOT oriented to the "X-Axis (world)", blows up. I created a numeric input (float) to transform the "Z-Rotation", but this is very limiting and is not parametric.

I think the solution is trying to extract the coordinates from the spline to find it's position, then apply that rotation to my transform node. Is this possible to do with an arithmetic expression? This part of my script has stumped me... can you guys help?

Thanks!

-Dan