-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: Spacebar menu scale and rotate buttons do nothing when interacted with #6519
Comments
hi, happy to hop on board with htis one too. thank you. |
@HussainAther Any help you can provide is greatly appreciated. Thank you. I did some work previously to try to fix this, so you may find it useful as a reference: #6514 If I remember correctly, I got the buttons working, but the physics system would end up fighting them for control once first engaged (it is enabled/disabled depending on various situations). @DougReeder also did some work trying to fix it, so you may find that useful as well. #6502 If you have any questions, don't hesitate to ask. |
Thanks, once again , I'm still trying to get this work. |
see that PR #6502 attempted to fix the issue by modifying findAncestorWithComponents() to check for Rigidbody but not Deletable and MediaLoader. Meanwhile, PR #6514 focused on passing eid instead of bodyId to updateRigidBody and checking body-helper. However, it seems like the physics system is still interfering with rotation after an object is thrown. |
I don't think so. If I recall correctly, the
I believe there are two core issues here:
Now that I look back on it, I think PR #6514 fixed the physics for the bitECS side of things and it was only the Aframe side that was still broken/fighting the user. If you want, we can go through this at (or just after) the weekly dev meetup today. Thank you again for looking into this! |
Would it make sense to focus debugging on when A-Frame physics takes ownership away from the user? I suspect there’s a state reset happening in updateRigidBody. Do you recall where the state enabling/disabling should happen? EDIT: Never mind. Let me look into this further. Thanks... |
Description
Applies to: #6468
Objects can't be manipulated via the scale and rotate buttons from the spacebar menu anymore. This affects both the bitECS and A-Frame loaders.
To Reproduce
Steps to reproduce the behavior:
/cube
chat command.Expected behavior
The object should be scaled or rotated, depending on which button is interacted with.
Hardware
Additional context
Potentially caused by #6487
Originally reported (with slight differences) against the master branch here: #6496
The text was updated successfully, but these errors were encountered: