Modify Bone Replication Lag/Jitter Client Side.

From Switch has Auth [remote]…(client side) you are telling the server to Calc pitch and set a replicated var. Then on the Server side of the switch [AUTH] you are again calculating and setting pitch on the same replicated var. So basically telling the server to calc and set pitch twice in the same frame.

Here’s the new pitch (replicated in the variable), now run the same calcs again and set (override) the replicated values.

What you should be doing is on the remote side (client) is running the calc locally, setting the var, then call the server event. Server event should calc its own pitch and set its own var.
switch has authority [AUTH] should do nothing.

Control Pitch [Rot] var should not be set to replicate.

What this does is allow the client to execute its own local usage of the control pitch var (responsiveness). And the server will execute its own. They should both naturally derive the same result for the given frame/input event. No need to pass variables etc. If the calculation on the server differs it will correct your client.

1 Like