Godot Version
4.3
Question
I’m implementing a simple 3D LAN multiplayer game. So far I only have 2 players in an empty scene.
Everything runs smoothly if I start 2 clients on same machine, but when I start on 2 different machines on my LAN, each player moves smoothly on its respective client, but there is notable stuttering in the remote player’s movement as perceived by the controlling player.
I’m using a MultiplayerSynchronizer in my player scene to sync position, rotation, and blend position for my walk animation (I don’t think there should be much data involved here)
I’ve tried
- client / server setup with ENetPeer
- websocket peer
- peer to peer using WebRTC
This is all local to my LAN, so I wouldn’t expect stutter when synchronizing just a few properties.
A couple of questions:
- Is this expected, or should this typically perform better on LAN?
- Any suggestions on how I can debug / improve performance here?