Make physicsRate and maxFrameTime dynamic