Game Development Community

Packupdate vs. readpacket

by Tao Ju · in Torque Game Engine · 04/06/2005 (6:38 pm) · 2 replies

Can anyone explain to me the difference between packUpdate/unpackUpdate and readPacket/writePacket? Why would you use one or the other? Do they actually serve a different purpose?

#1
04/06/2005 (7:24 pm)
The former provide general object state updates, the latter provide high fidelity updates for the control object. If you're curious about Torque's network architecture, I suggest reading the TNL docs, available at www.opentnl.org.
#2
04/06/2005 (7:43 pm)
I did look at the tnl docs, but it was a bit too much info, so thanks!