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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

FLoating in VR (htc vive chaperone floor 1 foot higher than in game floor)

Im using the first person template and when i start my game the vr floor is about a foot higher than the one in game, so im way too tall and i cant pick things up on the floor with my motion controllers. Is there a way to lower my chaperone floor?

Product Version: UE 4.11
Tags:
more ▼

asked Apr 30 '16 at 10:56 AM in VR

avatar image

Havok
31 8 9 17

avatar image weberl Apr 30 '16 at 10:44 PM

I have the exact same issue. My Version is 4.12.0 Preview 1

avatar image Havok May 01 '16 at 09:25 AM

About half of those steps were missing from 4.11.2 lol but I got it to work when i put the eye level to -40. Thanks so much though!

Edit. Ugh now when i make a motion controller on my new VR_Pawn its doing all these weird things, the tracking is all off like it starts off no where near where the actual controller and the axis seem flipped. but even weirder it duplicates the motion controller and the duplicated one copies the movement but flipped. So if i move the motion controller to the right the duplicated one will go to the left.

avatar image weberl May 01 '16 at 10:42 AM

If my hint worked for you, then please mark this thread as resolved for all those fellow travelers who may also come across this problem.

Regarding your Controller Setup. I got it working and I have a slight Idea what went wrong. If you open another thread dedicated to this problem, I think I can help you. I had also the exact same problem :)

avatar image PriMattive Jun 12 '16 at 02:37 AM

These solutions haven't worked both in 4.11 and 4.12. The virtual floor is always lower than the real floor in new programs. The one place I've gotten it to work is in the Showdown Demo where lowering the base eye height to zero fixes it, so I went through and copied every setting for the character in a blank template and the floor is still low. The first person template which has now options for VR also has the VR floor low no matter how you change the height of the camera or the floor.
I've also put the capsule to 0 in all dimensions and it doesn't help.
There has to be some setting that made it work in Showdown and I've looked for a few weeks now, please help @Wes_Bunn @Sam_Deiter @t_looman (not sure if that will actual get their attention).

avatar image PriMattive Jun 20 '16 at 07:09 AM

I did get the shrink the capsule solution to work (see below), but you have to edit the pawn/character if it already exists as opposed to just editing the Blueprint.

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

4 answers: sort voted first

I found the solution to this: You need to set the attribute 'Base Eye Height' in your VR Pawn to 0. This fixed it for me.

It is mentioned in this tutorial: https://docs.unrealengine.com/latest/INT/Platforms/SteamVR/QuickStart/2/

Have a look here: alt text

more ▼

answered Apr 30 '16 at 11:12 PM

avatar image

weberl
237 16 20 33

avatar image Secret322 May 23 '16 at 12:37 AM

I have tried this solution but it has not worked for me. I am using a Character instead of a Pawn (though I have tested this with a Pawn with the same problem) setting the base eye height does not change where the chaperone/floor for the vr space is. The only thing I have been able to do to get the chaperone bound closer to the floor is to change the capsule component to be really small. Which seems like a terrible solution as it prevents my character from colliding properly.

Do you have any other idea why my chaperone/floor is hovering off the ground? Anything I should be doing to my capsule component?

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

If you turn off "hidden in game" the problem should become a bit more clear. Because capsule component is your character's root component, all child objects (ie; your hmd and motion controllers) are relative to the center of it. In order to offset correctly you will need to create a scene component that is a child of your capsule amd a parent of everything else. Set the scene's location to (0,0,-capsule_base_height) and you should be good.

more ▼

answered Sep 14 '16 at 08:27 PM

avatar image

SlimeQ
327 10 20 37

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

If you have a Capsule Component in your Player Character , just make it very tiny ... so You may stick to the Floor.

more ▼

answered May 02 '16 at 05:15 PM

avatar image

Alllesss
1 1 2 5

avatar image PriMattive Jun 20 '16 at 04:48 AM

This is what I had to do to get it to work but don't just change it in the Blueprint! You have to select the placed pawn/character in the world and change its values. Since it wasn't updating this when changing the Blueprint maybe other things weren't being updated as well because I would like to have character collisions.

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

In my case I had a C++ class derived from Character and in the constructor I was adding a Scene to the RootComponent. After that, I added my Camera and Motion Controllers as children of the Scene. Changing the position of the Camera made no difference and changing the capsule half-height was not an option, since that seems like a kludge solution.

My Character Setup

alt text

After making the capsule visible in the game, it became apparent that the floor was not aligned to the bottom of the capsule. While experimenting, I learned that adding a Scene as a child of a Capsule, results in the Scene being positioned in the center of the Capsule.

alt text

My solution was to set the relative location of my Scene to 0,0,0 AFTER adding it as a child of the Capsule, that's in C++. If you are going to do it in the Blueprint then set the Scene's Z location to be -Capsule->HalfHeight (note that it's negative).

alt text

C++ Code In RPGCharacter's Constructor

     UCapsuleComponent *capsule = GetCapsuleComponent();
 
     // Add Scene component (for headset positioning)
     Scene = PCIP.CreateDefaultSubobject<USceneComponent>(this, TEXT("VRBaseScene"));
     Scene->AttachToComponent(capsule, FAttachmentTransformRules::KeepRelativeTransform);
     Scene->SetRelativeLocation(FVector(0.f, 0.f, 0.f));
 
     // Add camera
     Camera = PCIP.CreateDefaultSubobject<UCameraComponent>(this, TEXT("Camera"));
     Camera->AttachToComponent(Scene, FAttachmentTransformRules::KeepRelativeTransform);
     Camera->SetFieldOfView(90.f);
 
     // Add Motion Controllers
     MotionController_Left = PCIP.CreateDefaultSubobject<UMotionControllerComponent>(this, TEXT("MotionController_Left"));
     MotionController_Left->Hand = EControllerHand::Left;
     MotionController_Left->AttachToComponent(Scene, FAttachmentTransformRules::KeepRelativeTransform);
     MotionController_Left->SetRelativeLocation(FVector(0.f, 0.f, 0.f));
 
     MotionController_Right = PCIP.CreateDefaultSubobject<UMotionControllerComponent>(this, TEXT("MotionController_Right"));
     MotionController_Right->Hand = EControllerHand::Right;
     MotionController_Right->AttachToComponent(Scene, FAttachmentTransformRules::KeepRelativeTransform);
     MotionController_Right->SetRelativeLocation(FVector(0.f, 0.f, 0.f));

uecharacter.png (16.2 kB)
default.png (68.6 kB)
uecharacter2.png (103.5 kB)
more ▼

answered Jul 15 '17 at 01:16 PM

avatar image

Modeus Games
131 10 8

(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