# Moving FPS char to a specific position not working

**URL:** <https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929>\
**Category:** AI\
**Tags:** move-to-location, unreal-engine, fps, question\
**Created:** [September 17, 2014, 1:41pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929 "2014-09-17T13:41:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabellogp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rabellogp](https://forums.unrealengine.com/u/rabellogp)\
**Post date:** [September 17, 2014, 1:41pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/1 "2014-09-17T13:41:27Z")

</div>

Hello, guys. I’m working on a FPS char with no WASD moving control. Instead, I want to click somewhere and then the pawn will walk by itself to that location.

The problem is that I can’t figure out how to move the character. I’ve tried “Simple Move to Location” node with goal input defined by “Get Hit Result Under Cursor by Chanel” (Location output of Broken Hit Result), but the char won’t move. Then I’ve just used a “Set Actor Location” and it won’t work as well. I’ve also tried a preset location var on Goal and New Location just in case the Cursor wasn’t working, but no deal.

It looks like something is preventing me to change the character location in any way but “Add Movement Input” nodes… Any ideas?

ps: I’m using the Mouse GameMode Blueprint of this example: [Mouse Control Setup | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/MouseInterface/MouseControlSetup/index.html)

 ![15669-capturar.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/a/a5aa79ff6195bfc642eb6138d7c01d3832590df5.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 17, 2014, 2:56pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/2 "2014-09-17T14:56:35Z")

</div>

Hi rabellogp,

Do you have a navmesh in your level already? This is necessary for mouse click movement.

---

<div class="post-metadata">

**Author:** ![rabellogp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rabellogp](https://forums.unrealengine.com/u/rabellogp)\
**Post date:** [September 17, 2014, 5:54pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/3 "2014-09-17T17:54:21Z")

</div>

Yes, I have a navmesh, but it stil doesn’t work… Is the navmesh also necessary for “Set Actor Location” to work?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 17, 2014, 6:04pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/4 "2014-09-17T18:04:01Z")

</div>

Can I see a screenshot of your blueprints? I may be able to see what is going on.

---

<div class="post-metadata">

**Author:** ![rabellogp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rabellogp](https://forums.unrealengine.com/u/rabellogp)\
**Post date:** [September 17, 2014, 6:24pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/5 "2014-09-17T18:24:01Z")

</div>

Sure. I’ve just attached it to the question.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 17, 2014, 6:34pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/6 "2014-09-17T18:34:50Z")

</div>

try using an add movement input node, with the same vector information. Also, make sure that you are clicking areas that are affected by the navmesh, which you can see by pressing p while in a perspective viewport.

---

<div class="post-metadata">

**Author:** ![rabellogp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rabellogp](https://forums.unrealengine.com/u/rabellogp)\
**Post date:** [September 17, 2014, 8:09pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/7 "2014-09-17T20:09:46Z")

</div>

Yes, it moves a little in a strange way with “Add Movement Input” receiving this vector information. Well, at least it’s moving. But I need the “Simple Move to Location” effect, like if an AI assumed the player controller for a while to move it until it arrives the destination. Do I need to configure any kind of AI for it to work properly?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 17, 2014, 9:29pm UTC](https://forums.unrealengine.com/t/moving-fps-char-to-a-specific-position-not-working/293929/8 "2014-09-17T21:29:16Z")

</div>

If an AI takes control of the player, you do need to set up some type of AI behavior. I would highly recommend looking at the tutorials on setting up AI behavior trees, which can be found here:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
