immersive-web / hit-test

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

session.requestHitTestSource not support 'unbounded' and 'bounded-floor'? #112

Closed DLGL99GL closed 2 years ago

DLGL99GL commented 2 years ago
session.requestReferenceSpace( 'unbounded' ).then( function ( referenceSpace ) {
    session.requestHitTestSource( { space: referenceSpace } ).then( function ( source ) {
        hitTestSource = source;
    } );

} );

i tested 'viewer'、‘local’,it worked;but when seted 'unbounded' or 'bounded-floor', the length of 'frame.getHitTestResults( hitTestSource )' is 0; Is session.requestHitTestSource not support 'unbounded' and 'bounded-floor'?

Manishearth commented 2 years ago

This is not the place to ask for help with the API or about bugs in particular implementations.