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

[Bug]: On Studio Load, First Click Instantly Rotates camera 45 Degrees Downward #9999

Open
5 tasks
dinomut1 opened this issue Mar 26, 2024 · 3 comments
Open
5 tasks
Assignees
Labels
bug Something isn't working triage Remove once bug is reviewed

Comments

@dinomut1
Copy link
Member

Version

08c3b70(1.6.0)

Operating Systems

  • macOS
  • Windows
  • Linux
  • Android
  • IOS

Browser (if applicable)

No response

What is supposed happened?

Camera should not move if user performs a click on the screen

What happened?

When a studio scene is first loaded, the first click on the scene itself will instantly rotate the camera downward.

Steps to reproduce

1. Open any scene in the studio
2. Left click on the scene
3. Camera will rotate downward instantly

Relevant Info

No response

@dinomut1 dinomut1 added bug Something isn't working triage Remove once bug is reviewed labels Mar 26, 2024
@SYBIOTE
Copy link
Member

SYBIOTE commented Mar 29, 2024

looks like the cause of this when you click on the scene after load, it focuses on the scene object first, the scene object is at origin, so camera focuses on the origin

@SYBIOTE
Copy link
Member

SYBIOTE commented Apr 15, 2024

@dinomut1 , what would you suggest as a possible solution , maybe we dont allow the scene root entity to be selected?

@HexaField
Copy link
Member

@dinomut1 , what would you suggest as a possible solution , maybe we dont allow the scene root entity to be selected?

We just need to be recalculating the orbit camera, there is a boolean on it, just need to trigger it at the right time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Remove once bug is reviewed
Projects
None yet
Development

No branches or pull requests

3 participants