Skip to main content
New Participant
August 28, 2015

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?
    This topic has been closed for replies.

    3 replies

    Up and Coming
    September 7, 2015
    Not 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)
    StrausEmuAuthor
    New Participant
    September 8, 2015
    I hope they will show how to make a similar menu:

    https://youtu.be/-gkG-Hv5Zgw

    The main thing is the cursor.
    Up and Coming
    September 8, 2015
    Does 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.