Synching player position
by Ian Omroth Hardingham · in Torque Game Engine · 12/14/2003 (8:20 am) · 3 replies
Hey everyone,
how exactly do the client and server sync positions? Does the client tell the server every so often where it actually is (rather than just sending a relative move) and the server updates?
Any help, as usual, is masssively appreciated.
Ian
how exactly do the client and server sync positions? Does the client tell the server every so often where it actually is (rather than just sending a relative move) and the server updates?
Any help, as usual, is masssively appreciated.
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
12/14/2003 (1:06 pm)
Look in player.cc and read the code for packUpdate() and unpackUpdate() to see how the player object ghosts itself so everyone knows where it is.
Associate Kyle Carter