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. 

Get VR Focus State for Vive

Hi there :D i used "Get VR Focus State" to detect if the player is using the VR-Device or if its still sitting on the desk to play the intro-sequence at the right time... on the rift that works perfectly but on the vive i cant get it to work, is there another trick to archive this for vive? would be great to have one solution for both :/

alt text

Product Version: UE 4.16
Tags:
hasfocus.png (191.5 kB)
more ▼

asked Aug 17 '17 at 08:12 PM in VR

avatar image

BeeHive
156 22 29 37

avatar image huanghuihu Sep 20 '17 at 02:21 PM

Vote this question. I also want to know how to disable Oculus' auto not focus the VR when i take off the headset.I found it may cause network bandwidth broken, it became very low when OC as a server(P2P).

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

1 answer: sort voted first

You could use a VRNotifications component on a blueprint. These have events you can link to (Headset On/Off) and then do certain things when the headset is put on. So when headset is on with the event, check if you have not already played the sequence and then play it.

We have a more involved solution however in C++, that uses the core delegates for HMD.

 FCoreDelegates::VRHeadsetPutOnHead.AddUObject(this, &SomeClass::HMDPutOnHead);
 
 FCoreDelegates::VRHeadsetRemovedFromHead.AddUObject(this, &SomeClass::HMDRemovedFromHead);

When these delegates fire the code functions, you can do what you need to in there or create blueprint events to do it in blueprints as well.

more ▼

answered Sep 20 '17 at 03:37 PM

avatar image

Dune
1.9k 53 40 200

(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