So I made knockback for a punch combat system. One player sends an event to the server which checks to see if there is a player in a region3 in front of them and if there is and all important conditions are met it then hurts the target player, stuns them, and pushes them back with a body velocity.
On both player's screens (the attacker and the target), the target gets damaged at about the same time. However, the knockback is extremely delayed for the attacker. The player receiving the knockback sees it happen immediately as they take damage, while it takes near a full second for the attacking player to see their target get pushed back after taking damage.
If there is going to be a delay like this, I want to at least know how to make it so both clients experience the same delay so i can work around that (there is a windup before the punch where I could have it ready the knockback early). I just want to make sure that both sides see the knockback occur at around the same time (the bodyvelocity is created on the server).
