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

bitECS: Right clicking on a camera to rotate it causes it to be focused on as well #6420

Open
Exairnous opened this issue Dec 15, 2023 · 0 comments
Labels
bug needs triage For bugs that have not yet been assigned a fix priority

Comments

@Exairnous
Copy link
Contributor

Description
When attempting to rotate an in-room camera with the right mouse button in the new loader the camera is rotated, but also focused on as well. This provides a jarring experience, especially when attempting to flip the camera by just quickly right clicking, instead of right clicking and dragging. The AFrame/old loader does not focus on the camera.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a room with the new loader enabled.
  2. Spawn a camera.
  3. Right click (or right click and drag) on the camera to flip/rotate it.
  4. See that the camera is focused on as well as flipped/rotated.

Expected behavior
This is a little tricky, originally the camera was rotated like any other object, not by right click, and could be focused on by either pressing F or right clicking, but ever since it was rebuilt in bitECS it has not had the standard object interactions, hasn't been able to be focused, and has been rotated via the right mouse button. So either of the two behaviors would be better than it is now, but ultimately I think the first behavior is what should be restored (although that's probably out of scope for this bug report).

Videos
New Loader:
https://github.com/mozilla/hubs/assets/9795121/5d0ef3fe-a091-468d-895b-834fcd11820c

Old Loader:
https://github.com/mozilla/hubs/assets/9795121/e83a9dd1-12b9-4170-86ff-9c79debd4edf

Hardware

  • Device: Laptop
  • OS: Linux
  • Browser: Firefox and Chromium
@Exairnous Exairnous added bug needs triage For bugs that have not yet been assigned a fix priority labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage For bugs that have not yet been assigned a fix priority
Projects
None yet
Development

No branches or pull requests

1 participant