Skip to content

Fix center reticle firepoints swaying#7525

Merged
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
wookieejedi:fix-firepoint-slew
Jun 15, 2026
Merged

Fix center reticle firepoints swaying#7525
wookieejedi merged 1 commit into
scp-fs2open:masterfrom
wookieejedi:fix-firepoint-slew

Conversation

@wookieejedi

Copy link
Copy Markdown
Member

Center reticle does not move if player is looking around, but there is a bug where the drawn firepoints of the center reticle do impromperly sway when the player is looking around. This is b/c the live global Eye_matrix, which has the free-look rotation baked into it by object_get_eye() then compute_slew_matrix(eye_orient, &Viewer_slew_angles)

Thus, do note use Eye_matrix b/c firepoints will sway if looking around, instead just use 'object_get_eye' with the properly set values.

Tested and fire-points work as normal but also fix the issue when looking around in free-look or TrackIR.

Center reticle does not move if player is looking around, but there is a bug where the drawn firepoints of the center reticle do impromperly sway when the player is looking around. This is b/c the live global Eye_matrix, which has the free-look rotation baked into it by `object_get_eye()` then `compute_slew_matrix(eye_orient, &Viewer_slew_angles)`

Thus, do note use `Eye_matrix` b/c firepoints will sway if looking around, instead just use 'object_get_eye' with the properly set values.

Tested and fire-points work as normal but also fix the issue when looking around in free-look or TrackIR.
@wookieejedi wookieejedi added fix A fix for bugs, not-a-bugs, and/or regressions. HUD A feature or issue related to the HUD labels Jun 14, 2026

@Goober5000 Goober5000 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and Claude approves

@wookieejedi wookieejedi merged commit 3e41e5b into scp-fs2open:master Jun 15, 2026
20 checks passed
@wookieejedi wookieejedi deleted the fix-firepoint-slew branch June 15, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. HUD A feature or issue related to the HUD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants