Question by
jerome12345 · Aug 19, 2018 at 06:10 PM ·
collisioncollidermultiplayer-networking
Sync Colider Height in a multiplayer game ?
I wrote a crouching function that works well in single player. When the player press "c", the capsule collider height and the camera altitude decrease, so that the player can make his way under obstacles.
However, in LAN multiplayer, when a player is hiding in crouch position under an obstacle, the other player connected doesn't see him crouch. Instead, what he see is the player standing up next to the obstacle.
I figured out the issue is that the collider height is not synced with the server.
Do you guys know how to fix this ?
Comment
Your answer