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

Question: Replacing super-hands' "grabbable" to "graspable" #240

Open
mrgeralds opened this issue May 26, 2024 · 1 comment
Open

Question: Replacing super-hands' "grabbable" to "graspable" #240

mrgeralds opened this issue May 26, 2024 · 1 comment

Comments

@mrgeralds
Copy link

Hello,

as mentioned in the commit #239 , I can theoretically "also try making a 'my-super-hands' component that modifies the superhands stack and replaces the word grabbable with something else like graspable" in order to avoid conflict with A-Frame's grabbable.

Can anyone of you show me how to do that (correctly)?
(Better yet, can anyone document how to do that in the readme?)

Cheers,
G.

@arvind-iyer
Copy link

As a work-around for now, you can go into reaction_components/grabbable.js and change the line 7 to

AFRAME.registerComponent('graspable', inherit(base, {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants