Spring Constraint and Rope Constraint input lags when connecting to 2 players

one of the connected players have input lag and other doesnt, how do i fix this?

You can’t fix it (while also letting each player retain control over their character). On Roblox, your computer handles the simulation for your avatar. If there is a physics constraint between avatars, the simulation will differ on the two players’ computers, like parallel universes. One of them is picked to be the “truth” and the other guy lags.

The only thing you really have control over is that you could chose who is in control, and have server code to manage the network ownership rather than leave it to the engine to decide.

2 Likes

how did Dog Walk or Altitorture achieved this? it seems like they used spring constraints or rope constraints, although both player 1 and player 2 can walk without any input lags or anything