Ball synchronization in multiplayer game?
Hi. I am making a game like haxball. I need to drag and shoot the ball but I have a problem, the ball doesn't act normal for the remote players. On the master client, the ball acts normal, while it acts weird on the remote players' screen. When the master client drags the ball, or shoots, the ball action is exactly how it has to be, but when I try to drag/shoot the ball the ball is weird. When I drag it, it is literally resisting against my player, the ball doesn't want to move, but it moves a bit, then resists again and moves again. I have seen some topics where we need to use something like PRC or something like this but I didn't get how to use it. Also I don't even know what the solution is right now. After days of work, I wanted to ask here finally. What should I do to sync the ball normally? I know lag and undeterministic physics matter but I know in this case I am doing something wrong, and I suppose these thing are not the main problem here. There must be something I haven't applied. So what should I do? Thanks in advance.