Posts: 415
Threads: 66
Joined: Apr 2009
Reputation:
0
I just realized after debugging my script that my timer for rotating the camera freezes every like 8th time its been called, it updates fine until it reaches like 8th time then it freezes for maybe 1 second and continues till 16th time or so, what could the reason be for this? Its being called every 75ms.
Posts: 1,046
Threads: 29
Joined: Mar 2010
Posts: 44
Threads: 2
Joined: Mar 2011
Reputation:
0
Try printing every function call to the console. Could it be that your function needs more than 75ms to execute? Also, what are you trying to do every 75ms?
Posts: 44
Threads: 2
Joined: Mar 2011
Reputation:
0
Mm i'm trying to picture what you are doing.. what is the movecamera for? Also, try doing it like every 200ms or something.
Posts: 1,046
Threads: 29
Joined: Mar 2010
show me your timer and how you've done with gettickcount()
Posts: 415
Threads: 66
Joined: Apr 2009
Reputation:
0
I just did some more testing, I just realized its not only that timer that's fucked, its all my timers (Not that I have many) But I just tried creating another new one randomly, which also stopped at 8th tick, 15th tick 22th tick...