LookUp and in game sensitivity

Maybe this is covered in a later lecture, but in this lecture he shows us the LookUp function, then says it’s pointless to use since it just calls another function (which is fair). My question is, say we wanted to implement in game sensitivity settings (like many shooting games have). Would it be better to keep the look up function and have a float Sensitivity and then do something like

void AShooterCharacter::LookUp(float AxisValue)
{
     AddControllerPitchInput(Sensitivity * AxisValue);
}

or would there be a better way to handle sensitivity?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms