I've made a train that moves along the train track using CFrame, and tried so many ways to try to keep the player from falling off the train, including CFraming the player along with the train (way too hard for me to manage). So I decided to ask if there's an easier way to do this
✓ ANSWER ACCEPTED
Is it possible to make players stand still on anchored objects moved using CFrame?
2 answers
✓ Accepted answer
Yes, there is a very simple way. You can use the BasePart properties named Velocity and RotVelocity. These will automatically move anything standing on them. So if your train is moving in its z-direction, make a script adjust the velocity of the part. Just keep in mind that this velocity is relative to the part, not the world. Hope this helps, if my answer isn't clear enough, I would gladly give an example.
There are "Seat" Instances in roblox, that will make the player seat and move wherever the seat goes. So add the seat inside the train, and make the player sit in.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Oh, I forgot to mention that this train is automated, it's not for sitting on, it's mostly for standing on and jumping around and on top of train tenders
Kinda like a Jailbreak train
I don't think u can do that without using CFrames, so you could or, use CFrames, or weld the character into the train.
https://devforum.roblox.com/t/jailbreak-train-platform-system/236339 this should help