x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Character VR flying few feet above the floor no matter what

Hi, I m trying for days to have my character in VR for Vive having a correct scale. That's crazy how a simple thing like that can be a nightmare. I looked into so many posts and so many people have this issue and use "hacks" to correct it. Does Unreal fiiiiiiiiiiiiiinnaly found a real solution for that? It's driving me crazy. My character would always been flying almost a meter on top of my ground. If I put the capsule half height to 0.18 I m having a "decent" result to almost have the real height of the person wearing the Vive. But then my collision are completely screwed. I tried many other things (see fig screenshot 1) alt textthis hack is the best I found but then my motion controllers are flying above my head about a meter. I tried to move the camera according to some post, but that doesn't change anything. alt text In my scene I'm always starting from the player start, if I delete it, I start from where my camera is in the editor, no matter if I put my character into the scene. I don't know if it can be part of the problem? alt text

Thanks in advance for your help. I m getting crazy...

Product Version: UE 4.14
Tags:
crazybug1.png (135.7 kB)
crazybug2.png (572.8 kB)
crazybug3.png (1.3 MB)
more ▼

asked Mar 04 '17 at 11:43 AM in VR

avatar image

Bry55
18 6 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

5 answers: sort voted first

Ok I found a way to be able to adjust it. I created a scene component which are the parent of the camera of the character and then you can adjust the height manually BUT what is really important is to put as child your Vive controller as well otherwise they will be offset in the scene. Still moving properly but for example 40 cm on top of where they actually are.

alt text

solutioncamera.png (447.1 kB)
more ▼

answered Mar 12 '17 at 09:54 AM

avatar image

Bry55
18 6 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Anyone has a little clue on it? I m still using the system to put down my capsule to 0.18. Pretty bad system for collision :(

more ▼

answered Mar 06 '17 at 09:20 AM

avatar image

Bry55
18 6 4 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Try Moving the camera to floor level and then start the game.

more ▼

answered Mar 06 '17 at 10:28 PM

avatar image

ProXit
11 1 2

avatar image Bry55 Mar 07 '17 at 08:26 AM

Moving the camera has no impact on it unfortunately

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Okay, I am by no means any expert but it looks like there is something going on with your Z vector, maybe with your relative position or that Multiply node. might try changing it to eye level instead of floor level..IDK.. I would recommend watching Mitch's lab on Youtube. You ll get a better idea. specifically the Simple Teleportation technique in VR. 2nd best option would be to look at the VR template bundled in UE4

Also you might wanna try the Input auto possess player in the properties panel of your pawn/camera and set it to player 0

Good Luck.

more ▼

answered Mar 07 '17 at 09:34 AM

avatar image

ProXit
11 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

This is essentially a hybrid of the VR template and what you were setting up.

'VR Origin' is your scene component that you set to be parent of your camera and VR controller. Base Eye Height is "Get Base Eye Height" under Camera. On the Set Tracking Origin change to Eye Level instead of Floor Level.

Disclaimer: I'm new to UE4 and blueprints are still way over my head. I tested this in my project (4.16) and my character has proper eye height playing with and without HMD as well as as proper capsule collision.

I hope this helps you as well!

Event Graph Screenshot:

alt text

more ▼

answered Aug 13 '17 at 07:43 PM

avatar image

mvollrath
1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question