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

addons: Physics doesn't work when in-room objects are thrown #6520

Open
Exairnous opened this issue Nov 20, 2024 · 0 comments
Open

addons: Physics doesn't work when in-room objects are thrown #6520

Exairnous opened this issue Nov 20, 2024 · 0 comments
Labels
bug needs triage For bugs that have not yet been assigned a fix priority

Comments

@Exairnous
Copy link
Contributor

Exairnous commented Nov 20, 2024

Description
Applies to: #6468
Physics doesn't work when in-room objects are thrown. The objects immediately cease moving when the mouse button is released at the end of the throw instead of continuing on with the physics system. This affects both the bitECS and A-Frame loaders.

To Reproduce
Steps to reproduce the behavior:

  1. Enter a Hubs room.
  2. Drag and drop a GLB file that you have locally on your computer into the room (or use Place -> Upload). This file can be downloaded and used to test if you don't have any GLBs handy: Test_Cube.zip.
  3. If you are using the A-Frame loader:
    3.1 Spawn a media frame cube via the /cube chat command.
    3.2 Use the media frame cube to capture the object to allow moving the object.
    3.3 Move the object outside of the media frame (these substeps work around bug #6518).
  4. Throw the object by clicking and dragging on it quickly and then releasing the mouse button while the object is moving.
  5. See that the object immediately stops moving when you release the mouse button.

Expected behavior
The object should continue moving in accordance with its momentum when the mouse button is released.

Hardware

  • Device: Laptop
  • OS: GNU/Linux
  • Browser: Chromium and Brave

Additional context
Potentially caused by #6487
Originally reported (with slight differences) against the master branch here: #6503

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