# \[4.7.5\] "Get camera location" reports wrong values in VR after rotation

**URL:** <https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, question\
**Created:** [April 13, 2015, 12:45pm UTC](https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878 "2015-04-13T12:45:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [April 13, 2015, 12:45pm UTC](https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878/1 "2015-04-13T12:45:58Z")

</div>

Hi there,

the positional camera tracking reports wrong results after a yaw-based turn.

Simple test:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/1/b81effc5d4e42b07899ed77d947beec48c00e901.png)  
This draws a blue circle around your position which should always follow your head movements. Additionally you should see a line pointing from slightly unter your eyes into the direction of view.

**Please note: (“Get Camera Location” does not take the HMD into account so I add the vector of “Get Orientation and Position” as local offset)**

Everything works as expected _until you turn your character to the right_. After that, the blue circle will shift to _left and right_ when you move your head _forward and back_. The line trace also starts from a point _next_ to your head.

This means, that the position of the camera simply cannot not be right.

I currently don’t know how to fix this and it completely messes up my view-based selections. ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [April 13, 2015, 6:52pm UTC](https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878/2 "2015-04-13T18:52:41Z")

</div>

Hello ,

I was able to reproduce this issue on our end. I have written up a report ( UE-13737) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Ben\_Cykyria](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_cykyria/32/700751_2.png) [@Ben\_Cykyria](https://forums.unrealengine.com/u/Ben_Cykyria)\
**Post date:** [November 7, 2015, 10:52am UTC](https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878/3 "2015-11-07T10:52:25Z")

</div>

Hi, what is the status of UE-13737, please?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 9, 2015, 4:18pm UTC](https://forums.unrealengine.com/t/4-7-5-get-camera-location-reports-wrong-values-in-vr-after-rotation/314878/4 "2015-11-09T16:18:46Z")

</div>

Hello btengelh,

I went ahead a double checked on this issue for you. It appears that this is working as intended you will need to update the control rotation, or use bFollowHMDRotation to avoid this issue. I hope that this information helps.

Make it a great day
