Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Camera rotation speed is affected by the game's framerate when using "cam_smooth". #1354

Open
Rip-Rip-Rip opened this issue Feb 1, 2025 · 0 comments
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.

Comments

@Rip-Rip-Rip
Copy link
Member

Rip-Rip-Rip commented Feb 1, 2025

Describe the bug

The camera rotation speed when using the cvar cam_smooth changes, depending on the framerate of the game. The viewmodel rotation speed does not seem to be affected.

See video below:
https://drive.google.com/file/d/1qKeeWgNwWRzxRH5n9Oso5qAD0U_lVBFa/view?usp=sharing

Settings used in video (issue occurs regardless of the settings used):
cam_smooth_lag 100
cam_smooth_delta 4

To Reproduce

  1. Enable the cam_smooth cvar.
  2. Adjust the framerate of the game using the fps_max console command.
  3. Observe the camera rotation speed changing.

Issue Map

Here is the .vmf and .bsp of the test map featured inside the video I linked above:
cam_smooth__speed_fps_issue.zip

Expected Behavior

The camera speed should be consistent regardless of framerate.

Operating System

Windows 11 Home 23H2 Build 22631.4751

@Rip-Rip-Rip Rip-Rip-Rip added the Type: Bug This is a problem with something that should be working one way, but isn't. label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.
Projects
None yet
Development

No branches or pull requests

1 participant