Looking at the Unity Avatar chat demo, there appears to be a nice way to keep remote players synced nicely and keep tho movement smooth, so I used it in my project. However, the code seems to be based off of the clients current frame rate, and that it continually sends the player position over the wire. At frist, this was a fine way to do things, but the frame in my project is lower than what the avatar chat demo gets, so the movement isn't as smooth. Also, soon there will be other objects that will move much faster than people (like cars) and this really has stuttered movement.
anyway, what can be done to make remote player movement smooth and accurate? i know of the general ideas of predicting movements, sending just button presses and just sending a Vector over the wire to show which way he is heading,(and have the client calculate the rest), but I would like to see some actual code. Is there another example that es has, or a good book that has some of these more advanced topics explained and shown via code?
anybody want to share their actual ideas on what they do to keep players synced and moving smoothly?