I’m watching a tutorial on Unreal engine and its fairly old 4.25 for exact and when he is programming he needs to make ONLY Gamepad frame-rate independent and NOT MOUSE while using APawn::AddControllerYawInput , as he explains that mouse is always frame-rate independent.
the question is: Should i really make gamepad looking speed frame-rate independent or are they handling it? cuz it’s really odd what he explains!
The difference is it takes time to physically move the mouse. E.g. If you move it 10 cm within one second and you have 60 fps, these 10 cm will be split to 60 fragments; so the higher the frame rate, the less distance the mouse travels in one frame.
But the stick value only depends on how much you push it. So if you push it all the way, with 60 fps you’ll get the value of 60 over 1 second, but with 144 fps it will be 144 over 1 second, that’s why you need to do some correction.