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: rotating/scaling an object allows it to be captured by media frames #6405

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

Comments

@Exairnous
Copy link
Contributor

Description
If you rotate or scale an object via the spacebar menu when it is close to a media frame, you can rotate/scale it so that it intersects and is captured. Also, the media frame bounds aren't shown when rotating/scaling and neither is the preview.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a room with the new loader enabled and with this scene: https://hubs.mozilla.com/scenes/qgaMVT9/mediaframealignment
  2. Spawn in an object.
  3. Move it near a media frame.
  4. Open the spacebar menu and either rotate or scale it until it intersects the media frame and is captured without you even finishing the rotate/scale.

Expected behavior
Media frames shouldn't capture objects when rotating/scaling, or at the very least should show their bounds and the normal capture preview, and they shouldn't capture it until the rotation/scale is finished.

Videos
Rotating:
https://github.com/mozilla/hubs/assets/9795121/ff907fa5-0910-402e-b734-7c9d425fd736

Scaling:
https://github.com/mozilla/hubs/assets/9795121/a2890621-379d-4323-874a-4368aee1b5a7

Hardware

  • Device: Laptop
  • OS: Linux
  • Browser: Firefox

Additional context
The AFrame loader couldn't be tested because of #6399

@Exairnous Exairnous added bug needs triage For bugs that have not yet been assigned a fix priority labels Dec 3, 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