Players glitches when standing on a fast moving platform

So i was trying to make a Dead Rails game, and when i made the train moving fast the players just glitches back and forth, the faster the train the intense the glitch is. This will be really annoying because we just see other players glitches when standing on the moving train. Is there a way to fix this?

Also you can try testing yourself, make a fast moving platform and make 2 players stand on it, you can see the other player glitches back and forth.

Alr. Make Friction MORE. And Make Your Game Less Lag Or Caculate Velocity For Realistic.

I forgot to say but my platform is unanchored and uses prismatic constraint, ill try changing the friction

1 Like
My Importan Mesange To You

>/Okkk Bro./

2 Likes

Ive tried it and it didnt work.

How are you moving the train? If you are manually setting the CFrame, this would cause that issue. I recommend using the roblox physic constraints to achieve this.

If your game is singleplayer (or the train moves when all players are on it) then you can do a nifty trick where you just move the entire map instead of the train. Then the train can go infinitely fast

This is only really feasible if you also implement a system where parts of the map will load/unload so you arent moving so many parts at once

1 Like

Try Use Weld And Set A Clone So Each Player Will Be Rendered Together

im using primastic constraint, and also the game is multiplayer ill send the game link so you can try it out. Try with 2 players and you will see the jittering and the jittering also messes the players interaction and collissions

nvm i decided to just move the terrain instead of the train, it can fix a lot of the trains bug

side note, sounds like they were fighting for network ownership of the train. you should be able to just set the network owner to nil for the train and that (might) have fixed it.

ive made the terrain move instead the train, it works much better items dont go yeeted inside the train, players dont glitch, and much more, it did lags the game but i do a lot of optimization and it works fine

Will ping differences between users affect who moves and who doesn’t relative to the ground?

the train wont start if all players are not inside the train, and my train has walls which means player cant just go in and out of the train, it has an airlock which wont open if the train is moving

mfw I give the solution but don’t get the solution

1 Like

Train never moves, so clients are always stationary relative to each other

lmao sorry bro ill give u the solution

1 Like