Raycast accruacy with VR

Hi,

I’m learning how to use raycast so that I can use the VR ‘look to select’ method for activating a button.

I’ve got the raycast working based off the documentation, however, I assume because of how VR is rendered, the raycast appears as if it’s coming from over the left ear, and therefore, when you’re looking at an object about 4 - 5m away, there is quite a discrepancy between where the ray is hitting, and where you’d expect it to be hitting. This would be a concern if there were a few buttons lined up as it’d be easy to activatethe wrong button.

Can anyone help me resolve this?

Thanks,

Hi ,

I’d like to see how you got that far. I’m setting up something very similar and hit a roadblock trying to do anything sensible with my raycast results.

I know that I’m looking at the menu, but I don’t know how to get than information into UMG so I can actually select a button. Any tips?