Engine icon indicating copy to clipboard operation
Engine copied to clipboard

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

Open Rip-Rip-Rip opened this issue 10 months ago • 0 comments

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 avatar Feb 01 '25 22:02 Rip-Rip-Rip