# GetViewRotation not working properly

**URL:** <https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, bug-report, question, fortnite\
**Created:** [April 29, 2023, 3:50pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670 "2023-04-29T15:50:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orange1775](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orange1775](https://forums.unrealengine.com/u/Orange1775)\
**Post date:** [April 29, 2023, 3:50pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/1 "2023-04-29T15:50:21Z")

</div>

to make a camera actor follow where my player is looking, I used GetViewRotation, but when I look past a certain angle, the camera starts going all over the place.

I want to know if anyone else tried doing this and knows a fix

---

<div class="post-metadata">

**Author:** ![TritonSailor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TritonSailor](https://forums.unrealengine.com/u/TritonSailor)\
**Post date:** [April 29, 2023, 5:13pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/2 "2023-04-29T17:13:44Z")

</div>

I tried that and had same result.

---

<div class="post-metadata">

**Author:** ![Orange1775](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orange1775](https://forums.unrealengine.com/u/Orange1775)\
**Post date:** [April 29, 2023, 5:15pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/3 "2023-04-29T17:15:03Z")

</div>

i wonder if there is a simple fix, hopefully a dev sees this

---

<div class="post-metadata">

**Author:** ![Orange1775](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orange1775](https://forums.unrealengine.com/u/Orange1775)\
**Post date:** [April 29, 2023, 5:19pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/4 "2023-04-29T17:19:50Z")

</div>

when I tried using PlayerTransform.Rotation instead, it doesn’t glitch out, but then I can’t look up and down

---

<div class="post-metadata">

**Author:** ![TritonSailor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TritonSailor](https://forums.unrealengine.com/u/TritonSailor)\
**Post date:** [April 29, 2023, 5:25pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/5 "2023-04-29T17:25:05Z")

</div>

I think I tried using just the pitch component from GetViewRotation, and combining that with yaw from PlayerTransform.Rotation, but it still glitched out. It’s been a few weeks since I was working on that, don’t remember for sure.

---

<div class="post-metadata">

**Author:** ![Orange1775](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orange1775](https://forums.unrealengine.com/u/Orange1775)\
**Post date:** [April 29, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670/6 "2023-04-29T18:04:00Z")

</div>

i think a user in the other replies was right, its a gimbal issue
