# How can I smoothly rotate the character when the aim offset.Yaw is above 90 or below -90?

**URL:** <https://forums.unrealengine.com/t/how-can-i-smoothly-rotate-the-character-when-the-aim-offset-yaw-is-above-90-or-below-90/1167709>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [May 16, 2023, 3:34pm UTC](https://forums.unrealengine.com/t/how-can-i-smoothly-rotate-the-character-when-the-aim-offset-yaw-is-above-90-or-below-90/1167709 "2023-05-16T15:34:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syther](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syther](https://forums.unrealengine.com/u/Syther)\
**Post date:** [May 16, 2023, 3:34pm UTC](https://forums.unrealengine.com/t/how-can-i-smoothly-rotate-the-character-when-the-aim-offset-yaw-is-above-90-or-below-90/1167709/1 "2023-05-16T15:34:42Z")

</div>

My question is I have an animation that rotates 90 degrees where it is, I will do it to activate it.  
In a few of the methods I have done, the character makes an instant turn at 90 degrees where the aim ends, and I want it to turn smoothly.  
Could you help me, please?

Also, how can I prevent this rotation(sure i have to do it first) from when IK foot working ?

 ![QuestionForRotating](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/7/927046884bb8957f825d816eb7b2e932d864ec84.png)  
 ![Question2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/0/4b0b5f8b565610487b082ab58539ed6302e736ab.jpeg)  
 ![Question3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/b/cabb532dfd26dd55bc22801a787d917662278e45.png)

---

<div class="post-metadata">

**Author:** ![Syther](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syther](https://forums.unrealengine.com/u/Syther)\
**Post date:** [May 17, 2023, 12:40pm UTC](https://forums.unrealengine.com/t/how-can-i-smoothly-rotate-the-character-when-the-aim-offset-yaw-is-above-90-or-below-90/1167709/2 "2023-05-17T12:40:15Z")

</div>

![Question](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/d/59d846412bf1c823e8f0e89c8797bb7476bfa857.png)  
I don’t know anyone to get help and I still can’t figure out how to do it. Currently, it rotates strangely without going to Right state, but it rotates around its own yaw axis smoothly as I want. Constantly. Am I following the wrong path? can anyone help, please?

Because I’m working on it, some variables are unnecessary now, because I’ve used them before, ignore them.
