Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: katho3d on September 26, 2022, 05:17:26 PM

Title: Constrain banking adaptative mode
Post by: katho3d on September 26, 2022, 05:17:26 PM
Hello,
I have a tricky question about RailClone. Is there a way to let the segment follow the spline (Adaptative deform mode), but constrain the banking to the world z axis? Similar to the Vertical deform mode but the segment is still following the tangent of the path.
Thanks in advance!
Title: Re: Constrain banking adaptative mode
Post by: katho3d on September 28, 2022, 01:23:55 PM
I will try to explain it more detailed using the example of curbstones.
VERTICAL is not usabel in this case, because when the road is steep, the curbstones will be distortet (comparison1.jpg).
So the best option would be ADAPTATIVE, but in this case the curbstones will not stay straight and get twistet alont the path (comparison2.jpg).
Is there a way to lock the rotation along the path?
Title: Re: Constrain banking adaptative mode
Post by: Paul Roberts on September 28, 2022, 03:44:35 PM
Hi - this should be possible by adding a Transform node after the segments and in the Deform tab, activating Override Banking/X Rotation and setting the value to 0

(https://i.imgur.com/YpAKWNT.png)

I hope that helps,

Paul
Title: Re: Constrain banking adaptative mode
Post by: katho3d on September 28, 2022, 06:44:28 PM
Thank you Paul, works perfect!