Hi there, I want to detect when the controller raycast from OVRInteraction is hitting a cube and then display a custom effect on the surface of the cube at the point of the raycast.
I’ve been able to add OVRInteraction to the OVRCameraRig and add the other components needed for controller tracking and display of the default raycast. I have tried searching through the features of the Ray Grab Interaction from the Interaction SDK but I don’t want to use the typical grab and move functionality. Instead I simply want to detect when the raycast hits a cube and then be able to add a 3D element for effect at the spot where the raycast hits the cube.
Not sure where to look for this use case because everything I find talks about the standard built-in ray grab functionality and not how to customize to change the behavior that happens when the raycast hits an object and a controller button is pressed.
Any guidance would be much appreciated.