Forum Discussion
VRex
10 years agoProtege
Cameras not being affected by HMD movement
Hey guys,
I have two camera actors in my level, and I have a director in Matinee that switches from one to the other. When I launch it, I can see through the cameras on my Rift, but I cannot look around. The cameras stays fixed and is not affected by the movement of my head. I think it has to do with activating, 'Use Controller View Rotation' in the Camera Settings, but I cannot find this option anywhere. Any ideas? Thanks so much.
Jesse
I have two camera actors in my level, and I have a director in Matinee that switches from one to the other. When I launch it, I can see through the cameras on my Rift, but I cannot look around. The cameras stays fixed and is not affected by the movement of my head. I think it has to do with activating, 'Use Controller View Rotation' in the Camera Settings, but I cannot find this option anywhere. Any ideas? Thanks so much.
Jesse
3 Replies
Replies have been turned off for this discussion
- mrgreen72SuperstarI don't have the exact variable names handy but you simply need to get a reference to the PlayerCameraManager, drag from it and search for HMD. You'll get the variable you need to turn on for the camera to follow the HMD's orientation. You do NOT want to use 'Use Controller View Rotation' in the Camera Settings.
- mrgreen72SuperstarHere you go:

Begin Object Class=K2Node_CallFunction Name="K2Node_CallFunction_2377"
Begin Object Class=EdGraphPin Name="EdGraphPin_23173"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23174"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23175"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23176"
End Object
Begin Object Name="EdGraphPin_23173"
PinName="self"
PinFriendlyName="Target"
PinToolTip="Target\nGameplay Statics Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.GameplayStatics')
DefaultObject=Default__GameplayStatics
bHidden=True
End Object
Begin Object Name="EdGraphPin_23174"
PinName="WorldContextObject"
PinToolTip="World Context Object\nObject Reference"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/CoreUObject.Object')
bHidden=True
End Object
Begin Object Name="EdGraphPin_23175"
PinName="PlayerIndex"
PinToolTip="Player Index\nInteger"
PinType=(PinCategory="int")
DefaultValue="0"
AutogeneratedDefaultValue="0"
End Object
Begin Object Name="EdGraphPin_23176"
PinName="ReturnValue"
PinToolTip="Return Value\nPlayer Camera Manager Reference"
Direction=EGPD_Output
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PlayerCameraManager')
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_43.EdGraphPin_23676'
End Object
bIsPureFunc=True
FunctionReference=(MemberParent=Class'/Script/Engine.GameplayStatics',MemberName="GetPlayerCameraManager")
Pins(0)=EdGraphPin'EdGraphPin_23173'
Pins(1)=EdGraphPin'EdGraphPin_23174'
Pins(2)=EdGraphPin'EdGraphPin_23175'
Pins(3)=EdGraphPin'EdGraphPin_23176'
NodePosX=416
NodePosY=-1664
NodeGuid=237C08CD4DEAD34901EB5DACFC72341E
End Object
Begin Object Class=K2Node_VariableSet Name="K2Node_VariableSet_43"
Begin Object Class=EdGraphPin Name="EdGraphPin_23673"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23674"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23675"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23676"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23677"
End Object
Begin Object Name="EdGraphPin_23673"
PinName="execute"
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_Event_136.EdGraphPin_23679'
End Object
Begin Object Name="EdGraphPin_23674"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
End Object
Begin Object Name="EdGraphPin_23675"
PinName="bFollowHmdOrientation"
PinType=(PinCategory="bool")
DefaultValue="true"
AutogeneratedDefaultValue="false"
End Object
Begin Object Name="EdGraphPin_23676"
PinName="self"
PinFriendlyName="Target"
PinType=(PinCategory="object",PinSubCategoryObject=Class'/Script/Engine.PlayerCameraManager')
LinkedTo(0)=EdGraphPin'K2Node_CallFunction_2377.EdGraphPin_23176'
End Object
Begin Object Name="EdGraphPin_23677"
PinName="Output_Get"
PinToolTip="Retrieves the value of the variable, can use instead of a separate Get node"
Direction=EGPD_Output
PinType=(PinCategory="bool")
DefaultValue="false"
AutogeneratedDefaultValue="false"
End Object
VariableReference=(MemberParent=Class'/Script/Engine.PlayerCameraManager',MemberName="bFollowHmdOrientation")
SelfContextInfo=NotSelfContext
Pins(0)=EdGraphPin'EdGraphPin_23673'
Pins(1)=EdGraphPin'EdGraphPin_23674'
Pins(2)=EdGraphPin'EdGraphPin_23675'
Pins(3)=EdGraphPin'EdGraphPin_23676'
Pins(4)=EdGraphPin'EdGraphPin_23677'
NodePosX=800
NodePosY=-1760
NodeGuid=17A41D3E436C353BC0207291CCD8547F
End Object
Begin Object Class=K2Node_Event Name="K2Node_Event_136"
Begin Object Class=EdGraphPin Name="EdGraphPin_23678"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_23679"
End Object
Begin Object Name="EdGraphPin_23678"
PinName="OutputDelegate"
Direction=EGPD_Output
PinType=(PinCategory="delegate",PinSubCategoryMemberReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveBeginPlay"))
End Object
Begin Object Name="EdGraphPin_23679"
PinName="then"
Direction=EGPD_Output
PinType=(PinCategory="exec")
LinkedTo(0)=EdGraphPin'K2Node_VariableSet_43.EdGraphPin_23673'
End Object
EventReference=(MemberParent=Class'/Script/Engine.Actor',MemberName="ReceiveBeginPlay")
bOverrideFunction=True
Pins(0)=EdGraphPin'EdGraphPin_23678'
Pins(1)=EdGraphPin'EdGraphPin_23679'
NodePosX=416
NodePosY=-1776
NodeGuid=267131F94B4A004EAF424FB6E3506529
End Object
Begin Object Class=EdGraphNode_Comment Name="EdGraphNode_Comment_31"
NodePosX=368
NodePosY=-1824
NodeWidth=724
NodeHeight=272
NodeComment="VR Camera"
NodeGuid=6B13C42F42E8D4736B4D029A14F56C49
End Object
You can paste this code in your Pawn's blueprint and it should work. - cyberealityGrand ChampionThanks for sharing!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 1 year ago
- 9 months ago
- 2 months ago