- Home /
Multiplayer problem: How can i figure out client lag in position updating calculated by the host?
I'm working on a simple physics game similar to football. It consists in a player (a disk) that kick the ball (it uses applyExplosionForce from its center to kick the ball) and try to score a goal. The disk move itself using applyForce (I didn't choose the simple translation because it doesn't make sense with the game i want to create).
So, I thought that the best way to calculate the position of everything in the game was to call a function [command] whenever i wanted to apply a force to an object. The position is calculated by the host and the client receive the updates through NetworkTransform.
Well it works but very bad. The client is not smooth and the ExplosionForce that the player try to apply in the client works different from the host.
What i should do? I tryed to search every kind of solution on the internet, i didn't find anything.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Changing rooms and spawning players with Multiplayer Example 2 Answers
What's the best method to implement multiplayer on a Billiard game ? 1 Answer
UNET Network Transform Component lags 2 Answers
how to synchronize other player actions in multiplayer environment using photon multiplayer ? 3 Answers