Skip to content

Add handling for incorrect entity lookdirs#1025

Merged
Robotgiggle merged 3 commits into
FallingColors:mainfrom
Robotgiggle:projectile-lookdir
May 9, 2026
Merged

Add handling for incorrect entity lookdirs#1025
Robotgiggle merged 3 commits into
FallingColors:mainfrom
Robotgiggle:projectile-lookdir

Conversation

@Robotgiggle
Copy link
Copy Markdown
Member

@Robotgiggle Robotgiggle commented Apr 4, 2026

Vanilla code has sign errors in the look direction vectors returned by projectiles and phantoms. This PR adds special handling to account for that, and makes use of it in OpEntityLook and OpBlink.

I realize that a registration system like the one currently used for special velocity getters might be better in concept, but since this bug applies to literally all projectiles regardless of individual entity type, I figured it would be simpler to just do what I've done here.

Copy link
Copy Markdown
Member

@object-Object object-Object left a comment

Choose a reason for hiding this comment

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

LGTM

@Robotgiggle Robotgiggle added this pull request to the merge queue May 9, 2026
Merged via the queue into FallingColors:main with commit 0f89fba May 9, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Hex Casting May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants