# SphereOverlapActors Sphere positioning question

**URL:** <https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328>\
**Category:** Blueprint\
**Tags:** convert, sphere-collision, unreal-engine, vector, world-position, Blueprint, question\
**Created:** [August 9, 2018, 8:22pm UTC](https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328 "2018-08-09T20:22:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plzwork1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Plzwork1234](https://forums.unrealengine.com/u/Plzwork1234)\
**Post date:** [August 9, 2018, 8:22pm UTC](https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328/1 "2018-08-09T20:22:58Z")

</div>

im trying to spawn an overlap sphere about 10 units in front of my third person character based on where I am aiming.  
It seems like the the sphere position is based off of world vector though. Im still getting familiar with the whole vector side of Unreal and I cant think of how to convert either the camera or my characters forward vector and rotation to a world vector location the sphereoverlap can use.

When i plug it in now, the sphere appears at the same location which is around to 1,1,1 because the local character rotation never goes much higher or lower than that.

Anyone know?

---

<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:** [August 9, 2018, 9:26pm UTC](https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328/2 "2018-08-09T21:26:42Z")

</div>

You’d normally do it like this:

 ![250020-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/f/cbf0659ea860d6277fb70c0fcbec82db2af31b12.png)

Get Forward Vector (direction vector), multiply it by distance and add it to your own location. This will produce a _projected_ location along the direction vector at the specified distance (500 in this case)

---

<div class="post-metadata">

**Author:** ![Plzwork1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Plzwork1234](https://forums.unrealengine.com/u/Plzwork1234)\
**Post date:** [August 9, 2018, 10:25pm UTC](https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328/3 "2018-08-09T22:25:48Z")

</div>

Thanks so much for the reply but I figured it actually.

---

<div class="post-metadata">

**Author:** ![Plzwork1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Plzwork1234](https://forums.unrealengine.com/u/Plzwork1234)\
**Post date:** [August 9, 2018, 10:26pm UTC](https://forums.unrealengine.com/t/sphereoverlapactors-sphere-positioning-question/431328/4 "2018-08-09T22:26:31Z")

</div>

![250044-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/0/520b04f138306a2c907578451cab41b4f6090ea1.jpeg)

Make transform and you add 500 to X
