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

BGDIINF_SB-3061 : keep where the camera is looking at when going back 2D #441

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Aug 21, 2023

and not where the camera is positioned, otherwise the view (top-down at the position of the camera) doesn't correspond at all with what the user was seeing in 3D

Test link

Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

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

Nice!
Probably an edge case:
In 3D, when tilting the camera to a very low angle, it is possible that the camera position gets below the terrain and the user sees the "sky".
Tilting back to a more "normal" steeper angle, the camera position does not correspond with the initial position but can be completely off (i.e. even outside of CH).

Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

👍🏼

@pakb pakb force-pushed the feat_BGDIINF_SB-3061_keep_camera_target_when_going_2D branch from 47b2b1b to 4b67aef Compare August 23, 2023 09:31
and not where the camera is positioned, otherwise the view (top-down at the position of the camera) doesn't correspond at all with what the user was seeing in 3D
@pakb pakb force-pushed the feat_BGDIINF_SB-3061_keep_camera_target_when_going_2D branch from 4b67aef to 756bd35 Compare September 11, 2023 10:08
@pakb pakb merged commit 52ae51f into develop Sep 11, 2023
4 checks passed
@pakb pakb deleted the feat_BGDIINF_SB-3061_keep_camera_target_when_going_2D branch September 11, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants