Train track curve

I’m trying to create a curved train track. I’ve created one curved rail using lots of smaller rails with the dimensions of 2, 1.5, 4 rotated by 1 degrees on the y axis each time. However, when duplicating and moving it so there are two rails, this happens: image
Any help would be appreciated. :slightly_smiling_face:


Move it on y axis and connect the track with few handplaced bricks.

2 Likes

Your train will derail in both cases. The minimum distance between rails is not constant along the curve.

You have to create another curve to fit the other one. For example, if your curve is a circle arc, you will have to create another arc with its center located to the same world position, but with different radius: big_radius = small_radius + distance_between_rails. You would need slightly more complex options for ellipses and other curves.

2 Likes

@Fondatix

If you use the Archimedes plugin, generating the the railing as a grouped model rather than two separate pieces will maintain a correct distance between both sides. You will just have to correct any connections between the models using ResizeAllign after, as you can see in the provided screenshot that the ends poke through one another slightly. This could also be fixed with SBS by resizing from center - (assuming the tracks are the same angle, otherwise the resize distance won’t be the same between all of them.):

You won’t have to deal with the ends of both sides becoming misaligned with their forward distance either, as is occurring in bachovar123’s solution.

6 Likes