Skip to content
New issue

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

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

Already on GitHub? # to your account

Tweak FreeLook camera reset logic #721

Merged

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Jun 26, 2024

The FreeLook camera was resetting when performing simple actions like attacking with a sword. The camera mode check had some confusing and overlapping range checks, so I've switched to using a switch with explicit cases for the camera modes we want to clear (essentially any Z targeting, aiming, firstperson, and boomerang modes).

I also moved the cutscene check to CanFreeLook so that we check on all frames for cutscene mode, instead of just when the camera mode changes. This addresses the strange camera position issue when moving the camera through a transition while riding Epona.

Fixes #508

Build Artifacts

@Archez Archez added the rika label Jun 26, 2024
@louist103 louist103 merged commit 00403e4 into HarbourMasters:develop-rika Jun 26, 2024
5 checks passed
mckinlee pushed a commit to mckinlee/2ship2harkinian that referenced this pull request Oct 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants