If the app is running at less than 60 fps, the NSTimer is not called quickly enough and the tween runs too slowly.
I have made another fix to my local copy, whereby each frame it calculates timeOffset based upon CFAbsoluteTimeGetCurrent(), adding a new ivar lastAbsoluteTime:
If the app is running at less than 60 fps, the NSTimer is not called quickly enough and the tween runs too slowly.
I have made another fix to my local copy, whereby each frame it calculates
timeOffset
based uponCFAbsoluteTimeGetCurrent()
, adding a new ivarlastAbsoluteTime
:Also resetting lastAbsoluteTime when the NSTimer is reinitialised (as per my other issue):