Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Bug: Using `cam_smooth` and walking through a portal can orient your view incorrectly.

Open Badpoolinator opened this issue 11 months ago • 0 comments

Describe the bug

Using the cam_smooth cvar while walking through a portal which isn't rotated the same as the other will make your view become disoriented.

Demonstration: https://youtu.be/HENujCg4OCo cam_smooth_lag set to 50.0 Test map used in video: cam_smooth_portal.zip

From what I can tell, the issue here is that the player's camera is oriented correctly when going through a portal, however the camera that is used by cam_smooth is not automatically rotated. Because of this, the camera needs to rotate itself when walking through the portal, but does it slowly, making the view choppy and not ideal for any sorts of cinematics or trailers.

Issue Map

Any map will work as long as you can open at least 2 portals which are not rotated the same way.

Test map: cam_smooth_portal.zip

To Reproduce

  1. Set the CVAR cam_smooth to 1
  2. Open 2 portals which are not rotated the same way.
  3. Walk through one of the portals.

Operating System

Windows 11 23H2 22631.4602

Badpoolinator avatar Jan 26 '25 15:01 Badpoolinator