Closed X-Raym closed 3 years ago
Hi. 32Hz is not really "standart" value, because it depends on how CPU hungry project is. Maybe it is better to play around os.clock?
@MichaelPilyavskiy Hi !
In fact 33 is more accurate I think but 32 is better cause it give nice numbers when division.
Anyway, my single line of code addition has the advantage of being as simple to use/mod than original function, as it in the end it just output a step value parameter, just like the original script. So original behavior isn't changed at all by my script. It may be less precise than an os.clock approach but I'm not sure it need to be that precised.
Ok thanks for the contribution!
Time based counter incrementation variable