Normalizing height between the Vive and the Rift / Vive height on Character

Hey there, I’m having a lot of trouble with cross compatibility from the Rift and Vive.

I’m working with someone who has a Vive, and I have a Rift. I can get the height right for me no matter what, and I have a branch so it can adjust it specifically for me.

But I just can’t get it to work for my partner. No matter what there’s a height problem. I’ve tried every variation of reseting tracking origin, not reseting it, different eye heights, different camera heights.

Either the position changes depending where he starts the game with his vive, or the height is wrong, or his floor bounds is wrong.

It’s just never right. I’ve literally copied and pasted the code from VR template and FPS template and it’s still wrong for him. I’m just using a standard character. I’ve tried every variation of the camera on a scene, on the root, on the floor. It never works. I’ve read and copied tons of pages from google about what to do. It’s never right. He can use old pawns though and it works for him. The old pawn wasn’t a character and was just a floating scene, we need it a character now.

Would someone mind telling me exactly what I need to do for the vive to get the proper height/tracking on a Character?

Also… I’d rather if I was normalizing the vive and the rift so they were exactly the same and I saw what he saw, rather than branching them and getting it right for the Rift but not the Vive. Is there a way to do that? the Templates use Reset tracking origin, but that doesn’t work for him (changes the height based on where he starts with his HMD)

Hi!

Few questions to help diagnose what’s going on:

  • Is you character setup as described in the UE4 camera refactoring documentation? e.g. VR Camera parented to a VROrigin Scene Component? Did you negatively offset the Z of the VROrigin in the Character so that the camera sits at the bottom of the Capsule?
  • The Vive and the Rift have two different default Tracking Origins. The Vive is Floor Level by default, the Rift is Eye Level by default. Do you set your Tracking Origin specifically to Floor Level when you enable the HMD?
  • How do you place the VR Pawn in your Level? Do you use the Player Start or place it directly in the Level? When you do so, is it properly at floor level or higher?

In my experience most of the mismatching VR positions depend on not having taken care of the points above.

Hope this helps!

Cheers,
Marco.

Thanks… I feel like I am completely positive I did these steps several times, but what can I say, I did them now and it worked. Thanks again.