Hey all, I have something working great on screen. I’m using scene.onPointerObservable to pick a mesh and get the point on the mesh where the ray from the mouse hit. To get the initial X, Y to cast from the screen, I use scene.pointerX/Y. I’m also trying the clientX,Y on the pointerInfo.event coming in on the observable which also seems to work reasonably well.
The problem is that I’m really trying to target the the Oculus Touch controllers. I’m running Chrome Canary and the scene itself works great, but the X,Y values coming in from the pointer observable don’t seem to change (I’m suspecting that it’s just the last known mouse position prior to entering WebXR. The pointermove event is firing just fine however.
What’s the correct way to accomplish hovering over a mesh and getting the point on the mesh? In the pointerInfo itself, there’s a pickedMesh, hit flag, etc, but all seem to be null. I see that there is a ray I might be able to use - is that it? Do I need to manually cast the ray? I question because the pointerInfo object has so much info coming in, I feel like I’m missing something really basic.