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

[Tweak] Improve Free Camera clear action #3225

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Sep 23, 2023

The original intention was that pressing Z-target was how to reset the free camera and go back to the normal camera. This was done by clearing free camera when the "parallel cam" was active (the standard Z-Target cam). The problem is this camera is only used when Link is idle. Free camera could not be reset when actively climbing or riding Epona.

This PR is to improve how free camera is cleared and handle more situations that cause jarring camera movement. The logic for determining this is moved to the Camera_ChangeMode flow and using the mode directly to decide the action. Specifically the following situations will now clear the free cam.

  • Z-Targetting enemies or friendlies
  • Z-Targetting while on Epona
  • Z-Targetting wile climbing or hanging on a ledge
  • Entering first person mode or first person aiming
  • Entering Z-Target aiming
  • Talking to signs/NPCs

Fixes #790 and most likely is the "real" fix for #863

Build Artifacts

@garrettjoecox garrettjoecox merged commit 671ce06 into HarbourMasters:develop Oct 30, 2023
@Archez Archez deleted the fix-free-camera-reset branch October 30, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

While climbing recentering the cam is not possible with using free cam
2 participants