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 first person camera lookatMat #334

Merged
merged 1 commit into from
Sep 9, 2022
Merged

Conversation

KVM-Explorer
Copy link
Contributor

When I try to add a function about switch to first-person-view,I found the lookAt Matrix use wrong parameter. So I fixed it.

Besides I also have a try the first person vertical offset and found its position may not reasonable, which is 0.6. Thus the first-person-view was build on the legs of the character.

What's more, The engine uses rotation dirty flag to update character orientation. In the third-person-view it works well and save resource but it seems a little strange in the first-person-view.

@KVM-Explorer KVM-Explorer marked this pull request as draft August 31, 2022 01:15
@KVM-Explorer KVM-Explorer marked this pull request as ready for review August 31, 2022 01:15
@Ol6rin Ol6rin self-requested a review September 3, 2022 12:14
@Ol6rin
Copy link
Collaborator

Ol6rin commented Sep 3, 2022

Thank you very much for contributing to Piccolo! We'll arrange reviewing and testing soon.

@Ol6rin Ol6rin merged commit 202d0f2 into BoomingTech:main Sep 9, 2022
Ol6rin pushed a commit that referenced this pull request Sep 10, 2022
KaygNas pushed a commit to KaygNas/Piccolo that referenced this pull request Feb 10, 2023
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.

2 participants