Quote:
|
Originally Posted by ghhs_1527
Time is not the problem, that part works great.
|
How do you know that? My first guess is that you're "initializing" the time variable every time through the loop, so it is always equal to zero when you hit the if statement.
Speaking of "the loop", what is causing it to run 26 times per second? We definitely need to see more of the code in order to help you.