# My character doesn't rotate properly when patrolling \*\*SOLVED\*\*

**URL:** <https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987>\
**Category:** Blueprint\
**Tags:** ai-navigation, rotation-direction, unreal-engine\
**Created:** [August 3, 2023, 10:51pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987 "2023-08-03T22:51:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![twizkiddaxter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Post date:** [August 3, 2023, 10:51pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/1 "2023-08-03T22:51:43Z")

</div>

Hello! I have an AI that doesn’t rotate properly when patrolling. It moves to the right point but doesn’t rotate towards it. I tried toggling the ‘Use Controller Yaw’ and ‘Orient Rotation to Movement’ options, but those don’t work. I even tried using the ‘Rotate Towards BB Entry’ task node in my Behavior Tree 😕 Setting or turning off those options usually helps but not anymore apparently.  
 ![orient rotation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/1/e51ed34f03198c833d8fdf73b3d6cb764849ed72.png)

![controller rotation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/3/663e7697735fcd544e0c1cb0ceff23dca9abb6e0.png)

 ![rotation setting](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/a/3faa36ee05cf17e10dc7e682567c630894536851.png)

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/0/55008835989db43789d70778d5040f0f1ed1be95.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/0/55008835989db43789d70778d5040f0f1ed1be95.mp4)

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [August 3, 2023, 11:15pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/2 "2023-08-03T23:15:15Z")

</div>

Your ai mesh component isn’t rotated properly. In ue forward is x axis(red)

---

<div class="post-metadata">

**Author:** ![twizkiddaxter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Post date:** [August 3, 2023, 11:17pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/3 "2023-08-03T23:17:48Z")

</div>

Ha that was it 🙂 Opened up the character’s BP and noticed that it was way off. It had a whole bunch of different meshes masquerading as one so I parented them to where they should’ve been. I then took his body and rotated it to face in the direction of the arrow.

 ![rotation problem solved.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/9/aa931fc9b469cddc5420be00e7b207805d28d9c7.jpeg)

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [August 3, 2023, 11:39pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/4 "2023-08-03T23:39:40Z")

</div>

Glad to hear that you resolved your problem.

Make sure to mark this thread as solved.

---

<div class="post-metadata">

**Author:** ![twizkiddaxter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Post date:** [August 3, 2023, 11:43pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/5 "2023-08-03T23:43:02Z")

</div>

How would I do that? Before the option would pop up if I clicked or hovered over someone’s response (I haven’t been here in ages).

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [August 3, 2023, 11:51pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/6 "2023-08-03T23:51:17Z")

</div>

> [@twizkiddaxter](#):
>
> Before the option would pop up if I clicked or hovered over someone’s response

This is how it should be. The button isn’t showing?

---

<div class="post-metadata">

**Author:** ![twizkiddaxter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Post date:** [August 3, 2023, 11:52pm UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/7 "2023-08-03T23:52:48Z")

</div>

No.

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [August 4, 2023, 12:05am UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/8 "2023-08-04T00:05:23Z")

</div>

Huh, strange. Try other browsers.

---

<div class="post-metadata">

**Author:** ![twizkiddaxter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Post date:** [August 4, 2023, 12:28am UTC](https://forums.unrealengine.com/t/my-character-doesnt-rotate-properly-when-patrolling-solved/1249987/9 "2023-08-04T00:28:34Z")

</div>

Nada. I tried a different browser too. i put ‘solved’ in the heading…
