# How do I Interp my controller's rotation to my camera's rotation

**URL:** <https://forums.unrealengine.com/t/how-do-i-interp-my-controllers-rotation-to-my-cameras-rotation/1702438>\
**Category:** C++\
**Tags:** rotation, player-rotation, unreal-engine, CPP, question\
**Created:** [February 20, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/how-do-i-interp-my-controllers-rotation-to-my-cameras-rotation/1702438 "2024-02-20T19:25:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheoRat3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theorat3/32/897542_2.png) [@TheoRat3](https://forums.unrealengine.com/u/TheoRat3)\
**Post date:** [February 20, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/how-do-i-interp-my-controllers-rotation-to-my-cameras-rotation/1702438/1 "2024-02-20T19:25:55Z")

</div>

I have set up my aiming function so that when the button is pressed bUseControllerRotationYaw is set to true and false when released. Giving the player free look and then snapping them in the direction of the camera when aiming. It’s really abrupt though and I want to interp the rotation of the character to the the camera’s direction more smoothly but I don’t know how to access and change their yaws.

---

<div class="post-metadata">

**Author:** ![shadymorningstar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shadymorningstar](https://forums.unrealengine.com/u/shadymorningstar)\
**Post date:** [February 21, 2024, 12:36pm UTC](https://forums.unrealengine.com/t/how-do-i-interp-my-controllers-rotation-to-my-cameras-rotation/1702438/2 "2024-02-21T12:36:23Z")

</div>

Can you post the blueprint of the Character, so I can have a better look at what setup you’re using?

---

<div class="post-metadata">

**Author:** ![TheoRat3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theorat3/32/897542_2.png) [@TheoRat3](https://forums.unrealengine.com/u/TheoRat3)\
**Post date:** [February 22, 2024, 11:47pm UTC](https://forums.unrealengine.com/t/how-do-i-interp-my-controllers-rotation-to-my-cameras-rotation/1702438/3 "2024-02-22T23:47:11Z")

</div>

It’s C++, I’m just looking for functions that allow me to get and set the camera and controller’s yaws
