# Smooth Camera rotation

**URL:** <https://forums.unrealengine.com/t/smooth-camera-rotation/422265>\
**Category:** Blueprint\
**Tags:** rotation-direction, unreal-engine, editor, UE4, Blueprint, question\
**Created:** [April 10, 2018, 4:44am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265 "2018-04-10T04:44:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![True\_Origins\_Int](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@True\_Origins\_Int](https://forums.unrealengine.com/u/True_Origins_Int)\
**Post date:** [April 10, 2018, 4:44am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/1 "2018-04-10T04:44:45Z")

</div>

I want my camera to smoothly rotate till 75 degrees when im holding the Q button down, and when i release it, I want it to smoothly return to its original position. How do I make this happen?

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [April 10, 2018, 5:40am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/2 "2018-04-10T05:40:05Z")

</div>

I think there are a few different approaches… depending on what exactly you are looking for. Here are two possibilities…

- using a timeline (when Q is pressed “update” and when Q is released “stop” would be inputs), and RLerping from the actor rotation to the intended rotation
- using a spring arm, set up the control inputs driven by Q, and in your Player camera manager… set the rotation limits in the axis you like to 75 degrees

---

<div class="post-metadata">

**Author:** ![True\_Origins\_Int](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@True\_Origins\_Int](https://forums.unrealengine.com/u/True_Origins_Int)\
**Post date:** [April 10, 2018, 6:24am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/3 "2018-04-10T06:24:24Z")

</div>

could you show me a blueprint graph example? thanks

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [April 10, 2018, 6:26am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/4 "2018-04-10T06:26:32Z")

</div>

… if you try both ways first… I’ll correct the graphs for you… give it a couple of hours tinkering first 🙂

---

<div class="post-metadata">

**Author:** ![True\_Origins\_Int](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@True\_Origins\_Int](https://forums.unrealengine.com/u/True_Origins_Int)\
**Post date:** [April 10, 2018, 7:21am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/5 "2018-04-10T07:21:07Z")

</div>

cant seem to really figure this one out, id like to see your graph

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 10, 2018, 9:23am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/6 "2018-04-10T09:23:55Z")

</div>

Have a look at this one:

> **[How to smoothly rotate camera in blueprint?](https://forums.unrealengine.com/questions/719893/how-to-smoothly-rotate-camera-in-blueprint.html)**
>
> I’m using a ThirdpersonCharacter with the attached camera on the head, so during the game the visual is first person. As a lot of people do, the follow camera has the socket set to head and it’s using pawn control rotation. ...

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [April 10, 2018, 11:25am UTC](https://forums.unrealengine.com/t/smooth-camera-rotation/422265/7 "2018-04-10T11:25:38Z")

</div>

… I think this is the solution for you 😃
