Ok. This system clock is confusing me, so I want to clarify some things. For context, I use tick() for everything right now, including computing spring deltas for updating a UI element.
Is this grid accurate?
The implication is I should use os.clock() or time() for EVERYTHING, unless I want stuff to synchronize with the game time. I’m ok with clocks running backwards if my clock doesn’t lag, although maybe that can create stutter?
Can you tell me if:
- time() lags if simulation lags
- time() is 1:1 with real time, or would disconnect?
- What is time()"s resolution?
- What does “stable baseline” mean in reference to os.clock()? Does os.clock() run backwards? Does it drift over time?
- Does calling any of these methods have performance implications?