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 selfie mode movement #1127

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Armored-Dragon
Copy link
Member

Currently in Selfie mode (View 2 on the keyboard) if you were to press either "A" or "D" keys with the intention of moving your character, your avatar will be moving in a unexpected way.
This pull adds an additional check to see if the user is in "Selfie Mode" and will move the character in the expected direction.
In effect, this mirrors the current movement direction. So in Selfie Mode you will be moving to the left in the perspective of your character when you press the "D" key.

Fixes #821
Closes #135. Unless I am misreading this issue, this would have been a problem solved a long while ago. What is described is not what I observe.

@Armored-Dragon Armored-Dragon self-assigned this Sep 4, 2024
@Armored-Dragon Armored-Dragon added needs CR This pull request needs to be code reviewed needs QA This pull request needs to be tested labels Sep 4, 2024
@Armored-Dragon
Copy link
Member Author

Oh a whole file format managed to slip by me. I will look at that soon.

@Armored-Dragon

This comment was marked as outdated.

@JulianGro
Copy link
Member

Maybe it was using different newline characters?

@Armored-Dragon

This comment was marked as outdated.

@Armored-Dragon
Copy link
Member Author

I got it.
It was white space changes and I forgot my IDE does not like to show me those without a fight.

@HifiExperiments HifiExperiments added CR approved This pull request has been successfully code reviewed and removed needs CR This pull request needs to be code reviewed labels Sep 9, 2024
@Armored-Dragon
Copy link
Member Author

I had just noticed that mouse look is also inverted while in selfie mode. I just snuck in the fix with this pull.

Copy link
Member

@HifiExperiments HifiExperiments left a comment

Choose a reason for hiding this comment

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

looks good from a CR perspective, idk if the mouse look thing is a matter of preference for folks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR approved This pull request has been successfully code reviewed needs QA This pull request needs to be tested
Projects
None yet
3 participants