Hubs-Foundation / hubs

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

Physics doesn't continue working after moving an object that has had physics permanently enabled on it #6504

Closed Exairnous closed 1 week ago

Exairnous commented 2 months ago

Description Physics doesn't continue working after moving an object that has had physics permanently enabled on it. Physics initially works immediately after enabling it on an in-room object, but stops working after the object is moved.

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. Hover over the object with your mouse and press and hold spacebar to bring up its menu.
  4. Click on the ball with a downwards arrow to permanently enable physics. 2024-09-27_03-32
  5. See the object drop to the ground.
  6. Click and drag the object to a new position in space.
  7. See that the object doesn't drop to the ground when you release the mouse button.

Expected behavior The object should drop to the ground after moving it, when physics is permanently enabled.

Hardware

Additional context Potentially caused by #6487

Exairnous commented 1 week ago

Fixed by https://github.com/Hubs-Foundation/hubs/pull/6515