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?
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.
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.
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:
Set the camera to the bottom of the capsule
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.
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!!
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.
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.
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.