Measuring how fast a float or int moves


    Aug 19 2011 | 5:57 am
    Hi
    Is there any kind of object or method that measures how fast a float or int moves
    That is: I am interested in getting a bang if a float/Int moves faster than x (for example: goes over 50 integer points in x milliseconds) but Im not interested to get a bang if a float/int moves past a certain point
    All the best.

    • Aug 19 2011 | 5:59 am
      p.s I seem to remember seeing an object like this in some external lib - but I cant remember where
    • Aug 19 2011 | 9:42 am
      this is how I'd do it:
    • Aug 19 2011 | 10:06 am
      Thanks guys
      Terry´s version seems at first sight to be what I want - gonna test it some more
      All the best