Skip to content

fix first person camera lookatMat#334

Merged
Ol6rin merged 1 commit into
BoomingTech:mainfrom
KVM-Explorer:main
Sep 9, 2022
Merged

fix first person camera lookatMat#334
Ol6rin merged 1 commit into
BoomingTech:mainfrom
KVM-Explorer:main

Conversation

@KVM-Explorer
Copy link
Copy Markdown
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
Copy Markdown
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