basically, modulo gets the remainder of a division statement. (3 modulo 2 is 1 for obvious reasons). so, when the time gets to 2, the remainder will be 0. and for every multiple of 2 the time reaches; the remainder will be 0.
I’m sorry, I don’t understand at all. Isn’t there a way to explain this in very simple words (as if you were explaining to a 6 year old )? That would help me a lot
modulo gets the remainder of division. we’re getting the remainder of DistributedGameTime and cycleTime (which is 2). we know 4 / 2 has no remainder. we know 6 / 2 has no remainder. so, the t value will be 0 if DistributedGameTime is a multiple of 2. (a multiple of 2 is 2, 4, 6, 8, etc.)
edit: the modulo operator is the % sign or the percentage sign.