Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: ayham4cg on December 31, 2022, 09:41:38 AM
-
I have an animated railclone object on a spline and i need to link another object (plane, helper or light) to the railclone animated object to export the transformation to after effects, is there any way to do it?
-
Hi,
You can use the Position Script Controller for these purposes and “link” such an object to a specific vertex of the "animated" RailClone object (by using polyOp.getVert). I’m attaching the sample scene. I hope that helps.
Best regards,
-
Thank you so much
Is it possible to link the rotation? beacause I have a curved spline so I need the helper to follow the direction
-
Hi,
Sure, that‘s something feasible in a very similar way. You can get a normal vector belonging to some vertex (by using getNormal) or and based on that calculate the corresponding rotation by the Rotation Script controller. Please find attached the modified sample scene.
Best regards,
-
Thank you sooooo much