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.41k forks source link

bitECS: The spacebar menu animates with the object #6404

Open Exairnous opened 11 months ago

Exairnous commented 11 months ago

Description When you pull up the spacebar menu on an animated object it animates with the object, potentially making it difficult to interact with.

To Reproduce Steps to reproduce the behavior:

  1. Go to a room using the new loader.
  2. Spawn in an object with an animation.
  3. Hover your cursor over the object and press and hold the spacebar to open the menu.
  4. See the spacebar menu is animating with the object.

Expected behavior The spacebar menu should be stable and not animate with the object.

Videos bitECS: https://github.com/mozilla/hubs/assets/9795121/e734d30c-acde-490c-babd-28f652676dd5

AFrame: https://github.com/mozilla/hubs/assets/9795121/551e410c-c60f-4123-9b4b-1ee62a58261b

Hardware