# Offset of player while I rotate

**URL:** <https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980>\
**Category:** AI\
**Tags:** ai-navigation, move-to, player-rotation, unreal-engine, question\
**Created:** [May 29, 2020, 6:25pm UTC](https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980 "2020-05-29T18:25:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myllz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Myllz](https://forums.unrealengine.com/u/Myllz)\
**Post date:** [May 29, 2020, 6:25pm UTC](https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980/1 "2020-05-29T18:25:08Z")

</div>

Hello, I have achieved what I want through using invisible actors and getting random location around those actors, but what I would like to do is have my AI follow to the right of my character, or infront of my player. Currently my AI is following Invisible actors that I have set up?

Is My way the best way to do this or is there a way or a function built into unreal to get the offest of the player character or actor while still maintaining the rotation of the character? basically I want my AI to follow to a random point on the right of the character, or infront of the character. Thanks for all the advice so far.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 29, 2020, 6:42pm UTC](https://forums.unrealengine.com/t/offset-of-player-while-i-rotate/465980/2 "2020-05-29T18:42:07Z")

</div>

To always get the ‘follower’ on the right use:

 ![303147-follow.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/0/910d4a0fe485218930056e533a77b886770da454.jpeg)

It has a nice, delayed effect:

![303148-ezgifcom-optimize.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/9/36905aa7de07a21e3706feae1938841f2041b636.gif)

To make this happen on the left, just change that multiplier to -120.

It works with GetForwardVector and front and back… 🙂
