RenderStepped doesn't sync with other players than yourself?

Hi,

I use a module script to position the camera around a character.
It’s used on your own character aswell as the other players in spectate mode.
Simply do: Camera3RD(character)
and it will follow that character around.

When you do that on your own character you NEVER experience any lag. But when applied to other players, you notice it doesn’t fire ever frame, the other players causes lag. Very bad jittering.

Can this be fixed or am I suppose to work around it somehow?

Sounds like you’re using otherPlayer.Part.CFrame when you should be using otherPlayer.Part:GetRenderCFrame(). Network only steps at 20 Hz. To make other players’ movements smoother they are interpolated. Your code will read .CFrame as the actual physics cframe that the other player sent. You can get the location the part is being rendered at using GetRenderCFrame.

5 Likes

Thanks ALOT! Works like a charm!
Quick and precise answer! Life saver :smiley:

1 Like