Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Physics doesn't work when in-room objects are thrown #6503

Open Exairnous opened 1 day ago

Exairnous commented 1 day ago

Description 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.

To Reproduce Steps to reproduce the behavior:

  1. Enter a Hubs room.
  2. Spawn an object into the room (you can use the /duck command).
  3. Throw the object by clicking and dragging on it quickly and then releasing the mouse button while the object is moving.
  4. 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

Additional context Potentially caused by #6487