# How would you rotate the camera when moving left or right, like Quake I movement?

**URL:** <https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999>\
**Category:** Cinematics & Media\
**Tags:** rotation, unreal-engine, shooter, question\
**Created:** [June 9, 2018, 4:39am UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999 "2018-06-09T04:39:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_970dcdbd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_970dcdbd](https://forums.unrealengine.com/u/anonymous_user_970dcdbd)\
**Post date:** [June 9, 2018, 4:39am UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/1 "2018-06-09T04:39:08Z")

</div>

i’m having trouble making the camera rotate left or right when moving in the corresponding directions. i’m currently making a classic shooter like Quake, and i kinda need that to encapsulate the right feeling to the game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_970dcdbd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_970dcdbd](https://forums.unrealengine.com/u/anonymous_user_970dcdbd)\
**Post date:** [June 9, 2018, 4:39am UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/2 "2018-06-09T04:39:54Z")

</div>

and i can’t find any tutorials on how it would be done.

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [June 9, 2018, 1:33pm UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/3 "2018-06-09T13:33:10Z")

</div>

post a link to a video or explain what your after a bit better so we can help you. personally i havent played quake in decades so i dont remember much of it.

Edit:

so i just downloaded and played abit of quake and its movement is a basic first person setup wasd are forward/back and strafing, the mouse is rotation yaw, and the arrow keys are forward back & rotation. if i were you id look at the first person template character and how thats setup. ill include a picture below of some of the pertinent script for forward back movement and rotation. the only other thing about quake thats different is the persistence of movement, basically whne you release the walk forward button the walking doesnt immediately stop but continues on for a sec.

 ![243691-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/9/aa98e32a714720c61341544e6821381dbf592c46.png)

---

<div class="post-metadata">

**Author:** ![BOB.cat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BOB.cat](https://forums.unrealengine.com/u/BOB.cat)\
**Post date:** [June 9, 2018, 7:19pm UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/4 "2018-06-09T19:19:27Z")

</div>

I belive you are asking about the tilt of the camera when strafing which is surprisingly simple and answered [here](https://answers.unrealengine.com/questions/29456/tilting-a-first-person-controlled-camera.html).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_970dcdbd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_970dcdbd](https://forums.unrealengine.com/u/anonymous_user_970dcdbd)\
**Post date:** [June 10, 2018, 8:55pm UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/5 "2018-06-10T20:55:11Z")

</div>

i’m very, very sorry- but it’s not exactly what i’m looking for.

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [June 11, 2018, 2:15pm UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/6 "2018-06-11T14:15:02Z")

</div>

in that case describe what your looking to accomplish and provide a video reference. we cant just be guessing at what you want.

---

<div class="post-metadata">

**Author:** ![SollusPRIME](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sollusprime/32/466540_2.png) [@SollusPRIME](https://forums.unrealengine.com/u/SollusPRIME)\
**Post date:** [April 11, 2022, 9:40am UTC](https://forums.unrealengine.com/t/how-would-you-rotate-the-camera-when-moving-left-or-right-like-quake-i-movement/426999/7 "2022-04-11T09:40:54Z")

</div>

I believe he is trying to get the camera to tilt left or right slightly depending on what key is pressed, those being the A key or the D key
