# Set focus turning Actor

**URL:** <https://forums.unrealengine.com/t/set-focus-turning-actor/1902442>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [June 14, 2024, 1:00am UTC](https://forums.unrealengine.com/t/set-focus-turning-actor/1902442 "2024-06-14T01:00:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ItsssYucky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ItsssYucky](https://forums.unrealengine.com/u/ItsssYucky)\
**Post date:** [June 14, 2024, 1:00am UTC](https://forums.unrealengine.com/t/set-focus-turning-actor/1902442/1 "2024-06-14T01:00:02Z")

</div>

I have a pawn actor that has a mesh component separated from the collision component because i want it to look like its flying. It is meant to shoot at the player. There is a photo of the pawn below. However set focus makes it so that if you get to close to it, it will start to rotate and turn itself horizontal. As you can see in the photo below it has turned horizontally, instead of being right side up. Is there a way to avoid this problem?

 ![2024-06-13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/0/ff0aa8286c9480c91ad09b3ce713d85563d49be0.jpeg)  
 ![2024-06-13 (4)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713d8ccb8378abbff9fc8359d26f2baad233c58e.jpeg)

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [June 14, 2024, 9:23am UTC](https://forums.unrealengine.com/t/set-focus-turning-actor/1902442/2 "2024-06-14T09:23:02Z")

</div>

I’m guessing you used the actor’s coordinates as a starting point when find look at rotation, but you needed to use mesh coordinates.

---

<div class="post-metadata">

**Author:** ![ItsssYucky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ItsssYucky](https://forums.unrealengine.com/u/ItsssYucky)\
**Post date:** [June 14, 2024, 7:39pm UTC](https://forums.unrealengine.com/t/set-focus-turning-actor/1902442/3 "2024-06-14T19:39:27Z")

</div>

I am using the set focus node and not find look at rotation so it looks like this:

 ![2024-06-14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/1/c21a4dd2923f4c68eb526988c05243241c426ec2.png)

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [June 17, 2024, 8:57am UTC](https://forums.unrealengine.com/t/set-focus-turning-actor/1902442/4 "2024-06-17T08:57:48Z")

</div>

With the default AIController and Pawn settings, my collision capsule (RootComponent) only rotates around the Z axis (Yaw).

Call GetControlRotation on EventTick in AIController, what result do you see? In my case the Pitch and Roll values ​​are 0, only Yaw changes.

P.S. And by the way, why don’t you make a Pawn who actually flies?
