Forum Discussion
StrausEmu
11 years agoHonored Guest
VR and cursor (crosshair) and Menu
Hello everyone!
[SORRY FOR MY ENGLISH]
Problem (only VR mode):
when I look in the VR mode, I can't correctly select the menu items (push button...). Apparently the coordinates of the mouse cursor position and VR HMD position is different.
When you hover over the button, button is not highlighted. If you move the cursor much higher (on axis X) the button, button is highlighted.

What I did:
1. I'm made HUD 3D and bind to HMD.
2. Now when I cause the menu, menu appears before my eyes. This is no problem.
3. I'm made cursor/crosshair (for example by Epic) for VR.
4. In the Blueprint I get the mouse cursor position. Crosshair is correctly displayed in VR (over the menu).
Image (Blueprint):
https://answers.unrealengine.com/storage/attachments/55831-hud_class.png
Question:
How to solve a problem?
[SORRY FOR MY ENGLISH]
Problem (only VR mode):
when I look in the VR mode, I can't correctly select the menu items (push button...). Apparently the coordinates of the mouse cursor position and VR HMD position is different.
When you hover over the button, button is not highlighted. If you move the cursor much higher (on axis X) the button, button is highlighted.

What I did:
1. I'm made HUD 3D and bind to HMD.
2. Now when I cause the menu, menu appears before my eyes. This is no problem.
3. I'm made cursor/crosshair (for example by Epic) for VR.
4. In the Blueprint I get the mouse cursor position. Crosshair is correctly displayed in VR (over the menu).
Image (Blueprint):
https://answers.unrealengine.com/storage/attachments/55831-hud_class.png
Question:
How to solve a problem?
3 Replies
Replies have been turned off for this discussion
- AlexotronicStart PartnerNot sure how to solve. But be sure to tune in tomorrow for a training session on this!
https://forums.unrealengine.com/showthr ... t-8th-2015
(they upload videos to youtube a few days after if you miss it) - StrausEmuHonored GuestI hope they will show how to make a similar menu:
https://youtu.be/-gkG-Hv5Zgw
The main thing is the cursor. - artyom17Expert ProtegeDoes it change if you set 100% screenpercentage (using 'hmd sp 100' console cmd)?
I would assume that the issue is in ScreenPercentage and attempting to use screen coordinates.
If you can make a small project which reproduce the issue then it will be useful.
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 months ago