Bit more explaination on the replay method

Just rewatched this lecture for the third time, and with some of the questions posed by other students, i think i started to understand how the replay method works. However, the key to my understanding comes from the fact that the position of the car is not rendered until the replay is finished. I think its important that the students know that all of the code in OnRep_ServerState function are executed before the render happens.

I was under the impresion that the replay happens in real time where each move is rendered and it made the replay method basically meaningless as it will glich just as much as resetting car’s position.

Hopefully this will help future students understand this method.

1 Like

Privacy & Terms