I can think of 2 ways:
-
by system time. But it is affected by lagging.
-
by counting ticks. Now I set 1 tick to 10ms. But this is not intuitive, maybe other problems.
how do you think about this question?
I can think of 2 ways:
by system time. But it is affected by lagging.
by counting ticks. Now I set 1 tick to 10ms. But this is not intuitive, maybe other problems.
how do you think about this question?