Skip to content

Fix third-person camera rotation#90

Merged
Ol6rin merged 1 commit intoBoomingTech:mainfrom
OlorinMedas:fix_camera_rotation
Apr 8, 2022
Merged

Fix third-person camera rotation#90
Ol6rin merged 1 commit intoBoomingTech:mainfrom
OlorinMedas:fix_camera_rotation

Conversation

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