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"

How does Unreal gather position and rotation from VR headsets

I need to get the same value that the built in VR blueprints get and Im not sure where to look for this. Thanks

Product Version: UE 4.21
Tags:
more ▼

asked Jan 22 '19 at 08:11 PM in VR

avatar image

MrJackio
1 1 2

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

All VR and AR support in UE4 is plugged in to common interface called XRSystem:

https://api.unrealengine.com/INT/API/Runtime/HeadMountedDisplay/IXRTrackingSystem/index.html

And you can access it from variable in UEngine (via GEnigne) from here:

https://api.unrealengine.com/INT/API/Runtime/Engine/Engine/UEngine/XRSystem/index.html

more ▼

answered Jan 24 '19 at 12:35 AM

avatar image

Shadowriver
34.6k 917 164 1095

avatar image MrJackio Jan 28 '19 at 02:23 PM

THANK YOU!!!

Seriously my friend this is exactly what I was looking for, you are a savior!

(comments are locked)
10|2000 characters needed characters left
 Engine\Plugins\Runtime\Oculus\OculusVR\Source\OculusHMD\Public\IOculusHMDModule.h

Don't know the details, but I think looking into this would be a good place to start.

more ▼

answered Jan 23 '19 at 11:15 AM

avatar image

Weibye
250 1 7 5

(comments are locked)
10|2000 characters needed characters left
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