I have a player and a rock.
-
If I sync player positions from client to server, the client will not be able to move to rock.
-
If I sync player position from server to client, use the command to make the player move on the server, the client will be able to move the rock, but it's lagging.
I have read many forums and can't wrap my head around how to achieve this. It's not a problem to sync other systems in gameplay like save, load, spawn, scene, state, etc., but the lagging movement and physics are huge problems to me.