immersive-web / hit-test

https://immersive-web.github.io/hit-test/
Other
78 stars 31 forks source link

offsetRay--origin is 3D localPosition of ReferenceSpace? #111

Closed DLGL99GL closed 2 years ago

DLGL99GL commented 2 years ago

I used Hittest to implement the location marking function in Hololens; As shown in the picture I want to change the origin and direction of offsetRay to get the Hittest result pose likes “I need” but final result likes “I get”,that maked me wonder “the origin is not 3D position offset in viewerpose local system” why the distance of the two getHitTestResults is getting smaller and smaller; image

the origin need transformed the coordinate system by myself? or transformed by system?

image

Manishearth commented 2 years ago

This is not the place to get help about using the WebXR API