WebXR picking of meshe

Hello everyone,

WebXR not picking mesh (pick.pickedMesh). Am I doing something wrong?
But if I use a mouse everything works as it should.

WebXR picking of meshe | Babylon.js Playground (babylonjs.com)

@RaananW maybe you could help me, please.

Scene.pick only works on the desktop. See Universal scene.pick() for something that work on all platforms

2 Likes

Pointer observable already includes the pick info:

Don’t use scene.pick, as pointerX and pointerY are different.

1 Like

It was easy when you know what you’re doing.
Thanks @JCPalmer and @RaananW