Replications very tough for me to get my head around. I’m working on a simple Air Hockey type project and have got both the server/client movement functioning and replicating. My next step is replicating the way I add forces to the Puck, I have an offline working OnCompHit function that knows when I’m hitting it softly vs hard and it looks great. I’ve tested and made sure that its getting separate and correct info when it comes to how hard on both the client and server and this to seems to be working.
Here’s a short clip of my issue that might help understand. You can see the “Client” “Server” tags at the top of the windows. https://youtu.be/7jErF2yAEX8
Here’s some code snippet. I have tried handling this OnCompHit from the Players Class aswell converting it so it all works of course. Both version hold the same result so far.
Also tried (Server, Reliable) Unreliable with validation etc.
I would really like to get a function replicated through code properly if anyone has any info or more questions I’m here. Thanks for your time.