I just tried to create a simple VR experience where you are supposed to look at an object to interact with it, however… it is really hard to target something without a crosshair, so I tried to use the crosshair that comes with the FPS Blueprints Template…
However… when I launch the game and set the game to run in fullscreen with my Oculus Rift DK2 the crosshair ends up getting positioned quite alot to the upper left corner, and not in the center/middle…
And as far as I can see the HUD blueprint for the crosshair is correctly setup (haven’t changed anything… its the same as the “default” one).
Has anyone of you created a crosshair for use with the Oculus?.. and if yes… then how?
In 4.4.3 the HUD only renders to the left eye. It is possible to manually make the HUD larger so that it covers both eyes, but then it is up to you to converge both eyes by correctly positioning the HUD’s elements. I haven’t checked out 4.5 yet to see if this has been corrected, but I have heard a solution was being looked at.
I’m going to need a crosshair as well at some point. I was thinking of using an Actor in the scene positioned just in-front of the object the player is looking at (by doing a ray trace from the camera). Doing so would allow the player to properly see both the crosshair as well as the target. I would also make sure it isn’t affected by the depth buffer, or scene lighting. Would probably also need to scale it so it doesn’t become smaller when it is farther away, unless that is something you want.
I do a raycast and position a curser blueprint where the ray hits. Works much better and since you run the ast directly through the camera with a forward vector you are guarenteed for it to be exactly at the center of the screen.