# How to make my character aim at an actor?

**URL:** <https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345>\
**Category:** Character & Animation\
**Tags:** aim-space, unreal-engine, question, Blueprint, blendspace\
**Created:** [April 23, 2018, 3:13am UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345 "2018-04-23T03:13:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyanTGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTGames](https://forums.unrealengine.com/u/RyanTGames)\
**Post date:** [April 23, 2018, 3:13am UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345/1 "2018-04-23T03:13:23Z")

</div>

Ok I have a character that can aim 45 degrees up, down, left and right. I want him to continue look at an actor as he moves around the level. So if my character forward vector is facing away from the actor I would need an angle to feed into my animation blendspace and if my character is looking directly at the actor it would need an angle value of 0. Anyone know how to set this up?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 23, 2018, 7:21am UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345/2 "2018-04-23T07:21:00Z")

</div>

_Find Look At Rotation_ node returns a rotator. You can then interp between the current rotation of the actor and the desired one provided by the above-mentioned node. If you do not want a smooth rotation, you can simply Set the actor’s rotation instead.

---

<div class="post-metadata">

**Author:** ![RyanTGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTGames](https://forums.unrealengine.com/u/RyanTGames)\
**Post date:** [April 23, 2018, 9:59am UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345/3 "2018-04-23T09:59:02Z")

</div>

I need the difference in angle. i dont need to set a rotation. i need the difference between find look at rotation and my characters current rotation. i have it partially set up but its buggy.

---

<div class="post-metadata">

**Author:** ![RyanTGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyanTGames](https://forums.unrealengine.com/u/RyanTGames)\
**Post date:** [April 23, 2018, 10:29am UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345/4 "2018-04-23T10:29:20Z")

</div>

ok I fixed it. I basically just needed to do findlookrotation.yaw - actorRotation.yaw. simple

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 23, 2018, 12:21pm UTC](https://forums.unrealengine.com/t/how-to-make-my-character-aim-at-an-actor/423345/5 "2018-04-23T12:21:19Z")

</div>

Yup, depends on the axis that you need.
