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 third-person camera rotation #90

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

OlorinMedas
Copy link
Contributor

Now the third-person camera shifts from side-to-side when rotating, which was caused by this line in
engine/source/runtime/function/framework/component/camera/camera_component.cpp:
Vector3 center_pos = parent_transform->getPosition() + Vector3::UNIT_Z * vertical_offset - 0.5f;.

@Ol6rin Ol6rin merged commit 2e5e914 into BoomingTech:main Apr 8, 2022
@OlorinMedas OlorinMedas deleted the fix_camera_rotation branch April 28, 2022 07:20
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