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

custom mesh not grabbable? #159

Open
javiTugboat opened this issue Oct 6, 2018 · 2 comments
Open

custom mesh not grabbable? #159

javiTugboat opened this issue Oct 6, 2018 · 2 comments

Comments

@javiTugboat
Copy link

Hi!
I have a question regarding making a custom mesh (gltf) grabbable with motion controllers.
I have implemented super hands with primitive aframe entities ( box and plane) and it works perfectly.
However, when trying to grab a custom gltf model, it does not work.
I was wondering if the procedure for grabbing a gltf model is different than with primitive entities?
Many thanks in advance.

@IFrankestein
Copy link

Hello Javi,

I am also stuck on same problem but a year after you. I have found that it is importatnt to use physics system for grabbing a custom object. But even I am not able to achieve it.

@wmurphyrd
Copy link
Member

If you are using physics, you have to tell the physics system how to handle collisions for your gltf. It is able to do this automatically for simple primitives, but not models. See https://github.com/donmccurdy/aframe-physics-system/blob/master/README.md#shape

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

3 participants