hi I’m looking for the PolySpatial Touch interactor, to pass it to an MRTK interactable. Any pointers where/how I should approach this?
I currently started creating my own script that checks for touches and raycasts against (MRTK)objects in the scene, but I’m unsure how to make an interaction happen with the object. I think I’m reinventing the wheel, as MRTK is using XRI, and PolySpatial is supposed to be built on XRI (right?), so it shouldn’t require much custom scripting I am guessing?
Yeah I tried that and had some limited success with the spatial mouse input. But the spatial mouse expects a continues delta movement input, while visionOS only gives a position during a touch press… You think I should try with hands? In bounded mode?
Thanks I tried it and the position of the XR Touch Space Interactor GameObject matches the Touch worldposition in the AVP simulator. But the click action is not passed on to buttons it seems. I tried clicking on both XRI sample buttons and MRTK buttons but nothing happens.
Is something else needed to pass on clicks to MRTK / XRI components?
The two at the left work and receive click input, but the menu’s on the right won’t work yet. Perhaps something with the way UI Canvas in World Space works? I only testing using Play To Device just now.
In the sample scene of polyspatial, there is an XRIDebug. You need to add the content from the input action in this scene to the input action in the MRTK scene, so that the content in MRTK can be directly interactive