- Home /
Information sending frequency
Is there any way to increase data sending frequency? For example i want to synchronize data with every fixed update.
That wouldn't work very well, you couldn't guarantee that you would get all of the packets quickly enough and things would get very laggy. You normally use interpolation or extrapolation to keep movement smooth between packets.
If it's physics you want to synchronize you have to use some sort of prediction. http://unity3d.com/support/documentation/Components/net-StateSynchronization
The problem is that it's not only physics. In one object both physics and scripts affect movement. (It would be too easy if it was only pure physics). Also, multiplayer will be available only via LAN or WiFi(Internet multiplayer support will be added but not recomended), so i can guarantee that all packets will be sent and delivered in time. But the question was is that possible? An if yes, than how?
Answer by ehnaton · Jun 07, 2012 at 10:48 AM
Finally i found the answer The variable for sending frequency is Network.sendRate
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Unity Network 3 Answers
NullReferenceException: Object reference not set to an instance of an object 0 Answers
Generating an Exact Muscial Note 1 Answer
Network.Destroy problem 2 Answers