I just tested BabylonJS with the Vive Focus and identified some issues.
The trigger button (id: 1) does not initiate a call to scene.onPointerDown.
Furthermore the position of the controller in VR is somehow weird.
At the beginning the controller appears in the middle of the head.
When I move up/down, forwards, backwards or left/right (6DOF tracking) the controller in VR keeps its position in VR space.
Since it is only a 3DOF controller, the real position cannot be tracked.
I think the correct behavior in that situation is that the position of the controller is always updated from the head position and than added some delta so that it appears right down relative to the head position.
I tested with the latest version of “Firefox Reality” since the “Vive Browser” does not support WebVR at all.
If there is anything I can do to assist, like further testing etc. please let me know.
Edit: The issue with the controller position could also be a problem of Firefox Reality since the demo from webvr.info also shows this problem. XX - VR Controllers