Forum Discussion
andorexad
6 months agoHonored Guest
Adding Raycast to gaze tracking
Hello! For my project I want to add ray cast to OVR eye gaze and log down the gameobject my eyes are lookin at.
But I have a problem with Ray cast. Now I added a RayInteractor and set its origin to OVR eye gaze object (which i set tracking mode to be head space). The ray is rotating in the way I expected, but its origin is always in world center. If i change the eye gaze object to be world space or tracking space, the origin of ray would be my eye position instead of world center; but the ray would disappear or go out of vision after my head rotate to an angle > 45 degrees.
Another thing is, how can I retrive the interactable that my eye gaze is colliding with?
No RepliesBe the first to reply
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
- 3 years ago
- 8 months ago
- 2 years ago
- 2 years ago
- 7 months ago