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"

Any way to control HMD render camera manually?

Greetings all,

Simply put, I want to execute "Reset Orientation and Position" of the HMD every tick, not only to Yaw but also Roll and Pitch. I want to lock the render camera so the movement of HMD doesn't affect what the player sees at all.

I digged into the source a bit and feel like they really don't want me to do this. Any ideas? I realize you can just stick actors to player's face but that would make things way more complicated.

Thanks!

alt text

Product Version: UE 4.14
Tags:
more ▼

asked Feb 01 '17 at 07:25 AM in VR

avatar image

Vuthric
22 4 9 11

avatar image Vuthric Feb 03 '17 at 05:17 AM

Open up the blueprint which contains your camera. Select the camera component. Within there, you should find a checkbox called "Lock to HMD" and it is checked by default. If you uncheck that, you can manually control the camera position and orientation.

I tried this from Slayemin. Applying transform to camera actually works to some degree. As long as you apply any sort of transform, location only for example, the render camera would respect the pawn camera and follows it. The problem is there is a weird (HMD)rotation induced location movement that I couldn't get rid of. I'd appreciate it if anyone can shine some light on my confusing face

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

0 answers: sort voted first
Be the first one to answer this question
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