fix roll speed

This commit is contained in:
FawazTakhji 2022-09-10 10:39:31 +03:00
parent 898379add9
commit b85934c3a6

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;