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"

HTC Vive camera move with pawn but not rotate

Hi,

I setup the VRPawn, VRController, and VRCameraManager just like the documenetations tell me. (That is, my CameraManager is "Follow HMD orientation" Checked.)

When I move VRPawn, my camera manager is carried by VRPawn's position and we can move around the scene and the HMD can rotate freely and move inside the room scale.

But when I rotate VRPawn, the Camera Manager is not affect by the VRPawn and looking direction is as if the VRPawn is not rotated.

If I change "Player Start"'s Orientation, the Camera Manager will adjust to the new orientation initially correct, but if I rotate VRPawn, it still has no effect to the CamearManager.

Product Version: UE 4.10
Tags:
more ▼

asked Mar 31 '16 at 09:10 AM in VR

avatar image

rz1974
136 10 15 21

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

1 answer: sort voted first

I have not worked with Vive but this could work: In the first person character blueprint, put an event tick, take the exec pin from Tick node and put it into "GetHMD rotation/orientation" node. Now that you have HMD roation, you need to set the same rotation to First peraon camera. Okay, so now take the exec pin from Get hmd rotation node and into "set actor rotation" now, get first person camera. Insert the reference output into "set actor rotation" and take the output rotation from "get hmd rotation" and into set actor rotation's rotation input. I am not in front of a computer but I think this could work.

more ▼

answered Mar 31 '16 at 09:27 AM

avatar image

PixelBrix
26 1 1 1

(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