# Move object to Player w/o navmesh (checked google)

**URL:** <https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060>\
**Category:** Character & Animation\
**Tags:** move-to, unreal-engine, question\
**Created:** [December 24, 2017, 6:07pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060 "2017-12-24T18:07:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheUnrealist1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheUnrealist1](https://forums.unrealengine.com/u/TheUnrealist1)\
**Post date:** [December 24, 2017, 6:07pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060/1 "2017-12-24T18:07:05Z")

</div>

Hi

I know this probably looks like I haven’t looked at all, but all of the answers I’ve seen refer to using Nav Mesh and the ones that don’t, I’ve copied the screenshots and I still can’t get to work.

I basically just need to test out a level whereby a simple object (cube mesh in this instance) is following the player (it will levitate so a NavMesh would be unnecessary). It would be as simple as "Event On Begin Play \> (move towards Player Controller at x Speed).

Thanks

 ![224950-dfghdfghg.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/6/72698b9b97475da75b8f2e925c792fc73033e5b4.png)

---

<div class="post-metadata">

**Author:** ![Vizgin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vizgin](https://forums.unrealengine.com/u/Vizgin)\
**Post date:** [December 24, 2017, 7:50pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060/2 "2017-12-24T19:50:48Z")

</div>

Hi DamianUnreal,

Not using a NavMesh means losing all its nice inherited features such as path planning and obstacle avoidance. **Simple Move to Actor** node you have in your Blueprints will only work for a pawn if and only if a _NavMesh_ is present. However, if you don’t care about these features and you wanna create something like a flying minion that always follows your character, then you can have your actor move a straight line toward your character in a few ways:

If you created your actor blueprint based on a **Pawn** (i.e. it inherits from a **Pawn** ), you can simply add a new component to it called **FloatingPawnMovement** , and then set it up as in the picture below.

 ![224972-floatingpawnmovement.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/a/fbaef7e83799aa397e493437a64aa43ccf6ba241.png)

The Nice thing about **FloatingPawnMovement** component is that it takes care of speed, acceleration and other kinematic stuff for you and you can simply tweak them to your liking.

However, if your actor is not inheriting from a **Pawn** , i.e. it’s based on an **Actor** class, then you would have to implement your own movement logic and also take care of any movement animation you have for your actor. Following picture illustrates a simple way of accomplishing this:

 ![224974-actorteleporting.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/d/f3d95bed9e38ec1c621015494114df3d6c30d360.png)

As you can see I had to check how close the cube is to my character to prevent it from running into the character and colliding with it. You can set the default values of the two parameters **Acceptable Radius** and **Interpolation Speed** to whatever value you like. Note that, in this case, your actor will follow a straight line towards your character based on this logic and might collide with obstacles or walls along the way (turn the **Sweep** on to detect collisions). If it’s a small flying minion then you might want to turn the collision off for it to prevent any weird colliding behavior. Otherwise, you would have to implement some kinda path planning and obstacle avoidance algorithm.

You can also add a little sinusoidal movement to the **Y** component of **Direction Vector** to have your cube go up and down to simulate some kinda floating movement effect.

The last thing to note for both of these scenarios is that I am getting my execution flow from the **Event Tick** node. Since these are constant smooth movement, It is necessary to have a tick event for such behaviors (whether the default tick method or binding a custom event to a clock that loops).

Hope these help.

Vizgin

---

<div class="post-metadata">

**Author:** ![TheUnrealist1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheUnrealist1](https://forums.unrealengine.com/u/TheUnrealist1)\
**Post date:** [December 24, 2017, 8:34pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060/3 "2017-12-24T20:34:03Z")

</div>

Hi Vizgin

Thank you for taking the time to answer my question in such detail. You covered everything. That’s perfect.

---

<div class="post-metadata">

**Author:** ![Vizgin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vizgin](https://forums.unrealengine.com/u/Vizgin)\
**Post date:** [December 24, 2017, 8:37pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060/4 "2017-12-24T20:37:58Z")

</div>

You’re welcome. Please consider marking the question as SOLVED if your issue has been resolved to help people in referring to this answer and also better filter unanswered questions.

---

<div class="post-metadata">

**Author:** ![jollyvideos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jollyvideos](https://forums.unrealengine.com/u/jollyvideos)\
**Post date:** [July 1, 2024, 5:48pm UTC](https://forums.unrealengine.com/t/move-object-to-player-w-o-navmesh-checked-google/413060/5 "2024-07-01T17:48:30Z")

</div>

Hi Vizgin,

I found myself in the same question, I would like a character to chase the player without navmesh.  
I ran your non-pawn logic, and it actually works although I would like to understand more or less what value to enter for “interpolation speed”.

The problem is that the actor follows the character (in this case a metahuman character) but the walking/running animation does not start.  
While with my basic logic yes (with navmesh)  
What do I need to change?

 ![Screenshot 2024-07-01 alle 19.48.17](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/8/5d8283caf755986a89e951853a91f965ad80ae53.png)
