vasturiano / 3d-force-graph-vr

3D force-directed graph component in VR
https://vasturiano.github.io/3d-force-graph-vr/example/large-graph/
MIT License
223 stars 51 forks source link

Interaction with controllers #15

Open leonweber opened 4 years ago

leonweber commented 4 years ago

Hey, I would really like to use the touch controllers of my Oculus Quest to interact with the visualization. For instance, hovering nodes with a laser pointer instead of the head or moving nodes would be great.

Is this already possible in the current version, planned, or do you see a simple way of implementing this?

vasturiano commented 4 years ago

Thanks for reaching out @leonweber. For that level of customization I would recommend using the underlying aframe component: aframe-forcegraph-component, or even the lower level threejs module: three-forcegraph.

That way you're in full control of the scene and controller assignments.

As a follow-up idea, I would definitely be interested in extending the module to support other controller events, as long as it can be done in a generic manner and not vendor/hardware specific.