Merge pull request #644 from FawazTakhji/fix

fix roll speed
This commit is contained in:
Joaquin 2022-09-10 01:53:17 -06:00 committed by GitHub
commit 55d03f2db9

View File

@ -189,9 +189,9 @@ namespace cheat::feature
targetPosition = targetPosition - app::Transform_get_right(freeCam_Transform, nullptr) * settings.f_Speed; targetPosition = targetPosition - app::Transform_get_right(freeCam_Transform, nullptr) * settings.f_Speed;
if (settings.f_LeftRoll.value().IsPressed()) if (settings.f_LeftRoll.value().IsPressed())
targetRotation.roll += settings.f_Speed; targetRotation.roll += settings.f_RollSpeed;
if (settings.f_RightRoll.value().IsPressed()) if (settings.f_RightRoll.value().IsPressed())
targetRotation.roll -= settings.f_Speed; targetRotation.roll -= settings.f_RollSpeed;
if (settings.f_ResetRoll.value().IsPressed()) if (settings.f_ResetRoll.value().IsPressed())
targetRotation.roll = 0.0f; targetRotation.roll = 0.0f;