fix roll speed

This commit is contained in:
FawazTakhji 2022-09-10 10:39:31 +03:00
parent 0e4c1fce28
commit 638a6affbd

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;