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

Audio and Video components create an unwanted collision box #6412

Open
j-conrad opened this issue Dec 8, 2023 · 0 comments
Open

Audio and Video components create an unwanted collision box #6412

j-conrad opened this issue Dec 8, 2023 · 0 comments
Labels
bug P0 Needs immediate attention

Comments

@j-conrad
Copy link
Contributor

j-conrad commented Dec 8, 2023

Description
Adding an Audio or Video component to an object auto-generates a collision box at runtime. This collision box often ends up at the scene origin (0, 0, 0) and collides with things unexpectedly.

Screenshots
I'm not sure what collision mask they use, but they collide with objects by default.

image

If I add a Grabbable component (and maybe other types), the collision will move to the location of the audio or video object.
(Here, I've set the Physics Shape on each to be a little oblong to differentiate them.)
Now, their collision shows up at the object locations:
image

To Reproduce
Steps to reproduce the behavior:

  1. Open the included .blend file
  2. Note the objects with audio and video components
  3. Export/run in Hubs
  4. Turn on debug to see their collision at the origin.

Expected behavior
Audio and Video components should not leave collision lying around.

Hardware

  • Device: Desktop
  • OS: Windows
  • Browser: Chrome

Additional context
If components like these require having some sort of collision, we should consider disabling it whenever possible. Otherwise, we may want to have a separate collision layer for stuff like this.

@j-conrad j-conrad added bug P1 Address as quickly as possible P0 Needs immediate attention and removed P1 Address as quickly as possible labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P0 Needs immediate attention
Projects
None yet
Development

No branches or pull requests

1 participant