Raycasts in AR ??

Hey AR Devs,

I’m having following problem and i wonder, if anyone has a suggestion for it.

I have a normal ARFoundation scene where i want to click on objects in the 3D scene.

So naturally i would use a RayCast like this: Ray ray = arCamera.ScreenPointToRay(touch.position)

But it doesn’t work correctly. When trying to click the collider there is always an offset, so instead of clicking on the object i have to click next to it. The collider is wrong on any object i try to click on.

If anyone has a suggestion on how to tap or click on objects in AR please let me know.

Thanks!

This video has a method that works: