I am currently attempting to recreate the London Underground.
Before making the control system, I went through a couple of games to see how they handle their train physics, and one game has caught my attention. (Automatic Moscow metro - Roblox)
As you can see in the game, there are smooth turns, tweening of doors and smooth movement while on the train.
How would I be able to recreate such system in a memory efficient and safe way?
I thought of using a list of stations, and every time the train passes a station, the next one is retrieved from the list and the train moves towards it, and the stations that were passed are removed from the list.
The other option would be to create a path, with each path having a list of checkpoints, and having the train move between each checkpoint until the end of the path is reached.
I would be grateful for any explanation.