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...
sredburn
11 years agoHonored Guest
Okay that actually answers a lot of questions about my playing around with it.
Although that helps, the issue I am having involves determining the GUI offset value. For example, when the cursor is moved while on-screen with GUI coordinates, it is changed from the center x,y - (640,400) to another value, say (540, 450) for example. When the cursor is offset from the center, I do not know how to approximate the position.
Any ideas on how I could attempt to do this?
Although that helps, the issue I am having involves determining the GUI offset value. For example, when the cursor is moved while on-screen with GUI coordinates, it is changed from the center x,y - (640,400) to another value, say (540, 450) for example. When the cursor is offset from the center, I do not know how to approximate the position.
Any ideas on how I could attempt to do this?
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