Collision detection
by Brian Batchelor · in General Discussion · 09/30/2005 (10:50 pm) · 2 replies
I was interested to know in Torque's server/client (out-of-box) configuration where is the collision calculated? Does each client determine collisions then inform the server. Or does the server keep track of all entities' collision then, transmitted to each client? I suspect that each client would keep up with its player's collision and have the server calculate NPC collision, this would off load some computation from the server, but I could be wrong.
Brian B.
Brian B.
#2
10/01/2005 (4:42 am)
The server is the authoritative source for all collision information (both player objects and other world objects), but as Alex mentions the client does quite a bit of non-authoritative work as part of our strategies for overcoming various networking issues, including both latency and packet loss.
Associate Alex Scarborough