Delta Time in Authoritative server match loop


I’m looking at updating player position in the match loop. Is there a delta time variable exposed somewhere that contains the time since the match loop was last run so I can make the movement code time independent or is using the tick rate sufficient?

tick rate := 10
so delta_time := 100ms


You are right.

tickrate means the number loop time in 1 second
So if tick-rate = 10, then delta time = 1000ms / 10 = 100ms