Body Movement Server Replication

I made a gun system where when aiming, the character bends down or looks up depending on where they are aiming. I want to handle bullets on the server so these body movements would need to be seen by the server for accurate hitboxes. Problem is I want the movements to update every frame on the client for the player aiming, and then it replicates every 0.1-0.2 seconds to the server. I have already made code for this but it seems like as the server updates it interferes with the client movement. It seems like the client is trying to update its own positions while trying to use the replicated positions at the same time. How would I implement body movements which replicate onto the server and can be seen by the server in a way where client and server aren’t interfering with each other?

Clone on the client to disable automatic replication.

1 Like

That’s quite smart, thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.