what happens if you do this instead?
Code: (Select All)
x = CurrentGlobalFrameNumber*TargetFPS/GlobalFPS
orCode: (Select All)
x = CurrentGlobalFrameNumber*TargetFPS\GlobalFPS
TerryRitchie, binary floating point is inherently inaccurate