Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

CursorFreelookCentering/gamepad cursor causes camera to jolt on camera drag/MouselookStart #504

Open seblindfors opened 7 months ago

seblindfors commented 7 months ago

The option to use CursorFreelookCentering will cause the camera to jolt the equivalent vector to the centered cursor position from where you click (with either left or right click) on screen. By default the offset (CursorCenteredYPos) is set to 0.6, so if you click right in the center horizontally, and slightly up vertically, the camera does not jolt.

The camera will instantly snap in the opposite direction of the cursor offset from this centered position, which means it's the same as holding the mouse button down, and then moving the cursor that same distance to the center point. If I place the cursor slightly to the left of center, it will snap right, and vice versa.

This problem manifests in multiple ways:

Problem occurs on:

seblindfors commented 7 months ago

Example video: https://github.com/Stanzilla/WoWUIBugs/assets/7464938/bbd29fd8-6b43-4995-ab6d-70afdaaef1c3