Forum Discussion
sredburn
11 years agoHonored Guest
Finding the OVRCrosshair in 3D Space
Okay, so I have a problem where I need to get the OVRGUI Crosshair's position in 3D space so I can apply raycasting on it. I have dug through all of the Oculus scripts and cannot determine a way to ca...
vrdaveb
11 years agoOculus Staff
OVRCrosshair is not drawn in 3D space. It's drawn at the center of the screen for each eye, making it infinitely far away. So you could approximate its position as OVRCameraRig.centerEyeAnchor.position + 100f * OVRCameraRig.centerEyeAnchor.forward.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 2 months ago
- 8 years ago