Forum Discussion
Nicokam
3 years agoExplorer
Question Get Ray Pointer ID from Oculus Integration Package
Hello Everyone,
I'm having trouble performing something that should be quite straightforward.
The final goal is to make the correct controller vibrate when hovering a button. I got everything working except the capability to recognize which controller is the pointer from.
Once the pointer triggers the OnPointerEnter event, I want to get the information if it was the left or right controller and vibrate only the controller that triggered the action. Does anyone know how to do that?
1 Reply
Replies have been turned off for this discussion
- RRachelRRHonored Guest
You can get the RayInteractor from the Data variable in the PointerEvent, that one has a Transform _rayOrigin for the ray origin. Maybe you could check that to find out where it originates from?
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
- 6 months ago
- 2 months ago
- 10 months ago