Hey,
I'm trying to implement hit-testing like it's showing here. In the onSessionStarted function I set the frame of reference, but I'm forced to do this in 'head-model'. When I try to set it to 'eye-level' I get this error: Unhandled Promise Rejection: Only head-model hit testing is supported
So the behavior of my app is strange. When I want to add an object on the surface, it instead "sticks on the display" and moves with the camera. Is this caused by 'head-model'? Is there a way to fix this?
I am on iOS in the XRViewer Browser.
Thanks!
Hey, I'm trying to implement hit-testing like it's showing here. In the onSessionStarted function I set the frame of reference, but I'm forced to do this in 'head-model'. When I try to set it to 'eye-level' I get this error: Unhandled Promise Rejection: Only head-model hit testing is supported
This is my onSessionStarted function:
So the behavior of my app is strange. When I want to add an object on the surface, it instead "sticks on the display" and moves with the camera. Is this caused by 'head-model'? Is there a way to fix this? I am on iOS in the XRViewer Browser. Thanks!