To be more correct, delta measures change/frame, it only measures the difference between the current and previous value of the variable. Meaning, it is dependent on what framerate you have.
We had experimental implementations of delta/second, but we discarded them because Lua is dependent on the framerate of garrysmod, which is dependent on lots of things. Meaning that a slightly varying framerate causes different lengths for each frame, not a problem in itself, but the physics is probably not exactly dependent on frametime. Additionally, it needs to have an exact interval which then of course cannot be guaranteed, especially since static values does not cause additional updates.
To sum it up, delta/second is possible, but it becomes (quite alot) less precise. Which we can live with, but seeing that the current delta provides virtually the exact same thing, but with better precision. The only difference is that whatever factor you have, also needs to compensate for the update interval.
So the decision was made not to make it available, because most of the people would probably always use that instead without knowing the consequenses. You can implement it yourself as an expression if you really want.


LinkBack URL
About LinkBacks




Reply With Quote











Bookmarks