Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Dark Link's inputs in Mirror mode #3109

Merged
merged 1 commit into from Aug 12, 2023

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Aug 8, 2023

Dark Link's update logic runs through Player_UpdateCommon just like the regular player. This means Dark Link's simulated "controller" inputs were getting inverted in mirror mode. This was causing him to move irregularly while mirror mode is active.

This adds another inverse to Dark Link's relative stick x input to negate the second inverse later on in Player_UpdateCommon, fixing his "AI" behavior when mirror mode is on.

Build Artifacts

Copy link
Contributor

@garrettjoecox garrettjoecox left a comment

Choose a reason for hiding this comment

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

🪞

Copy link
Contributor

@briaguya-ai briaguya-ai left a comment

Choose a reason for hiding this comment

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

:shipit:

@leggettc18
Copy link
Contributor

Was merge ready removed on purpose? @garrettjoecox

@garrettjoecox
Copy link
Contributor

Was merge ready removed on purpose? @garrettjoecox

I removed it from the PRs that didn’t meet the timing criteria(en mass cause I added a bunch that didn’t meet the criteria).

In this case your approval makes it now meet the timing criteria (3 approvals and 3+ days since first approval) so re-adding the label

@leggettc18 leggettc18 merged commit 325c7fe into HarbourMasters:develop-sulu Aug 12, 2023
8 checks passed
@Archez Archez deleted the fix-dark-link-mirror branch August 12, 2023 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants