How can i create an arrary list that hold only 50 values? A task will be passing new values into this arraylist every frame but i want the new value to enter with the oldest one being removed. I’ve tried to get it working with
Doesnt seem to like that however. Is there a better way to do this as I cant find arrays in the manual and the python library hasnt seem much help either. Many thanks
Many thanks got that working finally. Ran into a bit of a problem calculating the difference betweem two array indexes but discovered that it was because there is only a tiny, if not any, difference between values when your adding a new index for each run of a task (as task runs many time a sec). Had to extend the amount of time between each append…if anyones interested: