vasturiano/3d-force-graph-vr

VR Navigation

Closed this issue · 7 comments

Hi, I am wondering if there's any chance of letting the VR User navigate through the space using the VR controllers? That would be awesome, just like the rest of your work, thank you!

@DubiousTunic thanks for reaching out.

The module should already have that functionality. It's using Aframe's extras movement-controls which provides exactly the ability to "fly" through space using VR controllers gamepad controls, as well as plain keyboard equivalent wasd keys.

I've just tested this in my Oculus and it does work as expected, using the right-hand controller gamepad stick. Is it not working for you? Which VR controllers are you using?

Hello, I tried this on my Oculus Rift with Oculus Touch controllers using the StreamVR app and I couldn't fly around. I can on the other hand fly around using the keyboard.

I'm using an Oculus Quest, but it should work the same way for a Rift.

Just to be sure, could you try this:

Let me know if that did work or not. You can also try with a different Oculus browser (Firefox f.e.) to see if you get a different outcome.

Use your head orientation to choose your destination while moving. That's just excellent.

Hi there,

Love the software, but unfortunately I cannot move either using the joystick (Meta Quest 2). I tried it on the example above (https://vasturiano.github.io/3d-force-graph-vr/example/large-graph/) from the headset. Works fine from the desktop browser using the keyboard. I'd like to ask if you have any suggestions how to resolve this.

Update: this seems to be Quest 2 related, I tried this solution (https://stackoverflow.com/questions/71131300/cant-move-camera-in-a-frame-with-oculus-quest-2) with the aframe version and it seems to work there. Sadly not sure yet how to enable it with this one.

@olbeimarton I've just pushed a fix which should get the joystick movement controls working again. Issue was an incompatibility with the gamepad controls in aframe-extras and the latest version of Aframe 1.4.1.

Let me know if it works for you.

Thank you very much @vasturiano, it works! I really appreciate the fix, thanks again.