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 5c8df02497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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