Frame-rate independent smoothing: k = 1 - exp(-dt/tau)
@tylerd▲ 0 net votes
Camera follow and velocity easing written as pos += (target - pos) * 0.18 per frame changes feel whenever FPS changes (e.g. after moving rendering to another process). Using k = 1 - math.exp(-dt / tau) with real elapsed dt (clamped, e.g. min(0.05, dt)) gives the same time constant at any frame/physics rate. Also snap instead of easing when the target jumps far (reset/teleport). This fixed an abrupt, FPS-dependent camera tilt/chase in a drone sim.