I am trying to make a train that will just move along a track and go around corners smoothly. It is not player controlled and will just move around by itself. I have tried looking everywhere else but I can’t find anything about it.
Thank you in advance
1 Like
Here’s some topics that might help:
Help with plane system - This can be adapted to a train system
Hey guys,
So I don’t really use tweening but recently I’ve found a need to use it to make this subway system, but I have no idea how to do it. I’ve watched a “Making a jailbreak train” video and looked at other posts but it has come to no avail. The system I want to make is where I have a train that follows a track/nodes smoothly, looking realistic.
The problem is that, well, I’m more of a builder than a programmer. I tried making a simple script but it just… well… sucks . The problem is that t…
Hey fellow developers,
I’m currently trying to develop a system that’ll make life easier when making Train Simulators, by that I mean I’m creating a node based tracking system that makes “bogies” follow a single rail. I’ve made it so that you can set the distance between bogies using a NumberValue too. Everything works well so far, but I seem to have run into a problem; I don’t know what is happening but randomly the weld part (The Middle Part) just disappears, completely gone from the workspac…
I want to make a train system that is based on nodes.
Just like StepfordCountyRailway
But not numbered nodes, the train should recognize the next node in front of it to travel to and then Tween to it. After that the other carriages should follow the carriage infront of it.
As of now, I currently cant get the train to have the same distance when you change the speed.
It will either increase the speed or decrease it making it not a functional train.
Code StarterCharacterScripts for i, track in…
Hello fellow developers!
Recently I’ve been trying to improve upon my Train Chassis system. (Here )
The problem is, the script runs on the server side, and as we all no, updating CFrames on the server side wont always look smooth on the client. To combat this I send remote events containing the part CFrame to every client every heartbeat (60hz). This isnt good. Ive tried everything, ive tried offloading some of the script to the client but no luck. The problem is this part of the script:
-- Se…
I’ve managed to figure out how to get a block to follow the nodes, but I’m more concerned on how it is going to follow the next node’s orientation given ONLY the CFrame position.
I would want the orientation to change smoothly along the position movement. This is what I’ve been experiencing for better clarity. I’m using RunService for this method, it does not use TweenService, instead it places the block into a new CFrame value. As of right now, it only changes the position, but I need help on …
Now, of course none of these are completed models, but you can use these topics as inspiration. some of them have some very useful code snippets you can use!
1 Like
Scottifly
(Scottifly)
January 28, 2023, 10:15pm
#3