Hello,
I have input from an external device in which the values are stored in variables in the engine.
These values update every game tick.
I would like to be able to store the values for n amount of time and then average the values out into a new variable is this possible?
So it would essentially keep a buffer of the values for lets say 5 seconds then it would take an average of them.