How to make a realistic gangway for a train

Hello, I am working on a train system for a game and I am currently modelling the Train and I have modelled a gangway but I’m not sure on what the best way to make it function is. A gangway is the part that separates 2 cars from each other to help the train turn with ease but I’m not sure how I would make the gangway stretch out or bounce around curved tracks. If you have any ideas could you please let me know! I have tried to spit it in half for each car but when it turns there will be a unwanted gap in the middle and I’m wanting to keep it to stretch out with the cars but have no gaps in the middle. Thanks!

Here is a picture of what a gangway is:

Here is the model of the gangway:

You could have bones in the mesh, and springs constraints attached to the vertices, causing the mesh to bend like a train gangway. (you would have turn off can collide; so the gangway may not be functional with players walking through it)

2 Likes

Thanks for your reply!

I did think I would have to use bones but I came here to see if there might be a better way to do it and if there was any tricks for it.

I’m not sure how to use bones but I did plan to to learn it one day (I’m way to impatient to learn lol). How many bones do you think I’d need and where would I place them? In each “column”.

I could use collision groups so it doesn’t collide with each other.

Anyways if I do figure it out I’ll come here and post a video of it. Even if its like in a few months, although I think Roblox doesn’t like replies to old posts but a gangway that’s realistic would be an interesting thing to see.

2 Likes

And don’t forget about collision-groups!

Yeah I would’ve done that. Still haven’t even started out how I’ll do this yet, been working on other things