Mouse Sensitivity Tied With Framerate

Hello, I cannot find any documentation about this. I have played some games where the mouse sensitivity is tied to the framerate, for example lower fps = higher sensitivity, and higher fps = lower sensitivity. Is there a setting in the input.ini or engine.ini that can be changed or is it strictly based on the formula the game uses to do mouse sensitivity? Based on searching, several games have had this issue, such as KF2, Daemon x Machina, and The Cycle.

There is that “Delta Time” pin. If you use mouse axis values without compensating it for frame rate you will get various mouse sensitivity. So use that “delta time” to compensate in your scripts.

Mouse input should not be compensated for delta time, since it is an absolute value, for how far the mouse was moved during the last tick. At higher fps you’ll automatically get lower values every tick for the same speed of moving the mouse. Controller input on the other hand, should be scaled by delta time, since it’s always in the -1 to 1 range and you want the amount rotated over time to be constant.

This is why sample projects have both a Look (absolute) and a LookRate (scaled by delta time) axis. If you scale the mouse input by delta time you’ll get the effect described in the OP.

​​​

3 Likes