# Why is this setup not working?

**URL:** <https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463>\
**Category:** Community & Industry Discussion\
**Tags:** focus, unreal-engine, question\
**Created:** [January 31, 2017, 12:07am UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463 "2017-01-31T00:07:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unisink2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Post date:** [January 31, 2017, 12:07am UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/1 "2017-01-31T00:07:46Z")

</div>

The print string at the bottom shows me that it’s been properly set, but the actor refuses to turn toward the player at all, and definitely not tracking him. The Behavior Tree nodes I place after this work. I could make the character “MoveTo” somewhere else just fine from here, just not this part. I’ve tried this many ways, tried this in another actor, tried it by triggering the SetFocus as a custom event inside the character blueprint. Tried that set to trigger on EventBeginPlay on a delay of 2 seconds… what could be simpler? Still it doesn’t track the player or any other target I set. Any help would be great, thanks.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [January 31, 2017, 2:18pm UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/2 "2017-01-31T14:18:51Z")

</div>

Hey swiss\_cheese9797,

I’ve created a simple setup that seems to be working.

Here’s what I did:

1. Started a new Third Person Project
2. Duplicated the Third Person Character blueprint and named it AI Character
3. Created a new AI Controller and assigned it to the AI Character Blueprint
4. In AI Character, ensure that Use Controller Rotation Yaw, Pitch, and Roll are all checked in the Defaults tab.
5. On Tick (just for testing purposes), Get All Actors of Class (ThirdPersonCharacter), Get AI Controller, then pull off of the Get AI Controller node and SetFocus. Plug in your Get node off of the Get All Actors of class so you have your Third Person Character reference and it should work.

I think the part you were missing was the Use Controller Rotation Yaw, Pitch, and Roll being enabled in the Defaults tab.

 ![124321-setfocus.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/6/c5632c39c0ad18ba075462b46a0814f875dbd75b.png)

Let me know if that helps.

Have a great day

---

<div class="post-metadata">

**Author:** ![TamTahiti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TamTahiti](https://forums.unrealengine.com/u/TamTahiti)\
**Post date:** [November 7, 2017, 4:37pm UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/3 "2017-11-07T16:37:37Z")

</div>

Thx, you help me 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49a519741](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49a519741](https://forums.unrealengine.com/u/anonymous_user_49a519741)\
**Post date:** [December 6, 2017, 3:02pm UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/4 "2017-12-06T15:02:20Z")

</div>

Emphasis: just for testing purposes. FindAllActors on tick… Yikes. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49a519741](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49a519741](https://forums.unrealengine.com/u/anonymous_user_49a519741)\
**Post date:** [December 6, 2017, 3:39pm UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/5 "2017-12-06T15:39:36Z")

</div>

: I see you re-marking answers after I post a comment. I don’t want to give you extra work. Why is that necessary? (Message me on the forum if you prefer. I couldn’t find “SeanL” on there, I tried)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 6, 2017, 3:57pm UTC](https://forums.unrealengine.com/t/why-is-this-setup-not-working/383463/6 "2017-12-06T15:57:01Z")

</div>

Every comment you leave reopens the thread, which requires manual attention to come in an re-accept an answer. It’s not any trouble though, we always encourage community interaction on Answerhub so feel free to comment as much as you’d like.
