Recently I’ve been working on several games that contain a lot of train lines, and I’ve scripted a lot of train systems that work in different ways from TweenService to BodyVelocity (look in Train Images).
Trains build by Macovei2057 VVV
Trains build by me VVV
However, every one of these has its own disadvantages, especially when it comes to curved rails/Tracks.
TweenService is not smooth when it comes to curved tracks, in other words, it looks odd when it moves from 1 checkpoint to another. + it setting it up is hard and takes a lot of time (look in Train Tween).
Body Velocity is a lot smoother when it comes to curves, however, there is always a chance that it might get the train stuck in the middle of the way, in other words, it’s not stable since it uses Roblox physics which is not the greatest to work with.
I am looking for the best way to script a train, a way that is stable like tweenService, but also smooth when it comes to curved/ angled tracks/rails.
Note: I am NOT an official scripter, im still learning.
If you have any idea how to improve one of these, or perhaps you recommend a new type of system then please let me know.