VR camera position is close to floor

I use the first person template which I then to run in VR (Oculus).
When I preview it in VR, using the play button, the camera position is perfect. As soon as I launch my environment (using launch button with VR enabled in the project settings), my camera is very close to the floor.
I’ve read some articles about the change in settings prior to v4.11 but that doesn’t apply to me (since I started development with v4.13). Lock to HMD is also enabled for my camera. I’ve reset all my settings again to default but the same issue applies.

I’ve tried many things, including changing the capsule height of my character blueprint, raising the camera, change eye height etc. It does improve by changing capsule height but it’s still very low to the ground.
Anybody who can assist please? Thanks in advance.

Update: when I restart the level or have a node to reset the orientation while in VR, the problem occurs again. I thyen started a basic first person FPS project and run it directly in VR and immediately, the problem occurs (character is very close to the ground) so it is not related to my personal settings. What is wrong?

1 Like

Make sure you have a call to set the tracking origin. SetTrackingOrigin in Blueprint. This can be eye level or floor level. If you’re not setting it, it could be defaulting to eye level which would give the symptoms you describe.

Hi TurtleSimons,

thanks a lot! You solved half of my problem.
By adding that node (set to floor level), at least I’m not close to the floor anymore but, unfortunately, now I’m too high (about 50 cm above my size, which is about 1m70).
I can manipulate the capsule size but I have the feeling that I shouldn’t touch that (since my head navigation isn’t accurate anymore if I do that). I also tried to adjust the eye height, set to camera position to the ground etc but it doesn’t seem to lower the height. Any suggestions?

Try re-run the sensor tracking for the Rift. Settings/Devices/Configure Rift menu/Reset Sensor Tracking. It’s been getting better as Oculus versions go up but sometimes it seems to lose the setting. There is also set floor position in case you have your height set wrong. Then check with a clean UE VR template - see if the head height is correct there. Assuming it is there and not in your project, gradually remove bits of your project until it gives the right height and then you’ll have isolated where the problem is. But best to have a base VR template as a known good reference point first in case your Oculus setup is not playing ball.

Hi TurtleSimos,

I finally solved the problem!
Resetting the sensor didn’t fix it but it can be solved with 3 simple steps:
Everything is done in the First Person Character blueprint:

  1. Set the camera to the bottom of the capsule

  2. Add a node “set tracking origin” in the blueprint of your character where it is checked (also FPC blueprint) if the HMD (oculus rift) is connected.

  3. Create a simple scene component and make it parent of the camera (and controls). Set its location (Z-value) to -80 or any other value that you want. Now, my characters appears at normal height in my environment. Finally!!

Thanks for the tip. Will check the vr template. Adding the node for floor position solved the problem entirely, if I recall correctly. Thanks!

You can also add “Get Base Eye Height” and plug that in to your Z value and then you don’t have to manually set the Z value if you update your character eye height.

Guys I am having this problem too but I don`t understand the solution.

Are there screenshots of the blueprints?

Where do I attach the set tracking origin box?

where do i find Z value and plug the set origin tracking in FPC Blueprint.

Here’s an example of the setup I’ve been running. I haven’t really had issue with the vive eye height, only the occulus.

To note I have this in the same blueprint that you are showing above

Anyway, I hope this helps you

1 Like

Thank you so much it worked for me. I just added a capsule collider component to the blueprint.

Hello mvollrath, I found this thread while searching for an issue with Vive, so maybe you could throw me a bone. Project behaves just fine in Editor via Play VR preview, SteamVR all solid green when packaging, build shows successful, but when I launch player I see on my monitor the camera is born at ground level, though the HMD is on my desk, and putting on the HMD I only see the default grey scene (responds to head movement), but no video from game coming in, though I do hear audio from the game. So, HMD is talking to SteamVR, but something going lost with UE4. Any thoughts? Big thanks.

Benjy

I’m having this exact same issue. Runs perfect in Editor, then stuck to the floor on Launch. I can see hands respond to input through the monitor but nothing through the HMD.