Game Development Community

Why is interpolateTick NOT called on the server?

by John Klimek · in Torque Game Engine · 05/29/2007 (7:40 am) · 2 replies

I'm trying to understand TGE networking but I'm a little confused on why interpolateTick is not called on the server.

I think I understand the basic loop:

1) processTick is called every 32 ms
2) The current tick and last tick are saved
3) interpolateTick uses those two tick values to draw a position between them

This means that what is being drawn is always 1 tick behind the "current" time, right?

Does my understanding sound correct?

Also, back to my original question, why is interpolateTick not called on the server?

Thanks...

#1
05/29/2007 (9:51 am)
InterpolateTick() is used to find a smooth render position, and the server doesn't render, so no need to call it there.
#2
05/29/2007 (11:16 am)
Ahhh... simple enough.

Thanks for explanation!

- John