# AI - Pawn movement component Issues

**URL:** <https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662>\
**Category:** AI\
**Tags:** Navigation, unreal-engine, question\
**Created:** [July 1, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662 "2016-07-01T16:19:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [July 1, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/1 "2016-07-01T16:19:35Z")

</div>

Hi,

when ordering the pawn (with a floating pawn component) to move to an Actor the following issues appear:

- The Actor and Pawn Movement component velocity grows larger and larger the more distant the target is
- Deceleration and acceleration doesn’t seem to have any effect

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 1, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/2 "2016-07-01T18:43:56Z")

</div>

Hey AlexW88,

- Could you provide a bit more information about your setup?
- Do you have screenshots of your blueprints?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [July 1, 2016, 7:04pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/3 "2016-07-01T19:04:31Z")

</div>

Sure, but its really Simple.

 ![96830-ai.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/1/cb1ee0eee8d467731669048301dd6ff1e3694454.png)

So I order the AI to move to Actor, it will then go to that Actor with the Set speed. However, the Velocity printed in the Anim BP is much larger than the actuall speed. If the AI is really close to the Target, the velocity is about 2000. If the AI is about 5 meters away from the Target, the Velocity is about 10.000.

And no mater what I set for Acceleration or Deceleration, the move speed nearly instantly go to max speed.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 5, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/4 "2016-07-05T12:48:09Z")

</div>

Hey AlexW88,

After investigating this issue, it appears that acceleration and deceleration are currently not supported for path following. This would explain why you’re not seeing the desired results in your project. There is a feature request in for this to be implemented, UE-17495.

Let me know if you have any further issues related to this.

Have a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [July 6, 2016, 11:07am UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/5 "2016-07-06T11:07:59Z")

</div>

Thank you.

So the incorrect velocity is a result of the lack of deceleration? May I ask you to bump the importance of this Request? Is there a chance that this will make it into the engine within the next few months?

tbh. this is a real bummer, I spent countless hours to find an efficient AI solution allowing me to run several k at once. Without knowing the real velocity it would require alot of unnecessary extra calculation to get a reliable system

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 6, 2016, 12:12pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/6 "2016-07-06T12:12:27Z")

</div>

To me, that definitely sounds like the source of the issue.

I have increased the community interest on the report; however, this does not guarantee that the feature will be implemented. We are currently focusing our engine efforts on high-priority crash and showstopper bugs, and as a result features have received a lower priority. Also, keep in mind that if you decide to implement a feature yourself, such as what you are looking for in this case, you can always enter a pull request to be considered by our developers.

Let me know if you have any other questions regarding this issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [March 22, 2017, 12:13pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/7 "2017-03-22T12:13:30Z")

</div>

So according to [Unreal Engine Issues and Bug Tracker (UE-17495)](https://issues.unrealengine.com/issue/UE-17495) this Issue has been fixed, however the problem I described above still persists.

Following the Developer note by checking “Use Acceleration for Paths” just prevents the AI from moving at all, which seem to be another bug [FloatingPawnMovement "Use acceleration for paths" not working? - Blueprint - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?116368-FloatingPawnMovement-quot-Use-acceleration-for-paths-quot-not-working)

> **[Is "Use acceleration with paths" functioning correctly in 4.12?](https://forums.unrealengine.com/questions/448286/is-use-acceleration-with-paths-functioning-correct.html)**
>
> Hi, all! I’m fairly new to Unreal, and definitely new to the forums. Pleasure to meet everybody. I have a BP class, “Monster”, extending Pawn. I’ve added a FloatingPawnMovement component to help it get around the world using a NavMesh. A set up a...

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [March 22, 2017, 12:24pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/8 "2017-03-22T12:24:33Z")

</div>

Interesting, I’m not seeing the same issue in my test project. Would you mind providing a repro case so I can take a closer look? A detailed list of steps or a test project would be sufficient since I’m not experiencing the same behavior. We probably have slightly different setups.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [March 22, 2017, 6:31pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/9 "2017-03-22T18:31:12Z")

</div>

Open the “Level” level and hit play.

- AI X will print incorrect velocity  
from the animation Blueprint
- AI Y won’t move as long as “Use  
Acceleration for Paths” is checked

link text

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [March 23, 2017, 7:18pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/10 "2017-03-23T19:18:34Z")

</div>

I was able to reproduce the issue in a clean project based on the project you’ve provided, and I have entered a bug report which you can track using the link below:

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-43261)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

Have a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd57f212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Post date:** [April 7, 2017, 4:35pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/11 "2017-04-07T16:35:01Z")

</div>

May I ask why this was flagged as can’t reproduce?

Also in regards to the original Issue I think it may be independant from UE-43261.  
When reading the Velocity inside the Pawn Blueprints, it returns the correct veloctiy, reading the same value (see example project) inside the Animationgraph it prints the distance to the target instead the velocity.

If you open the ai\_test project attached above and play the level you will see that the AnimBP of AI\_X prints a complete different velocity then the AI\_X, which actually prints the correct veloctiy - **both using the same nodes!**

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [April 7, 2017, 5:19pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/12 "2017-04-07T17:19:27Z")

</div>

This issue no longer reproduces in our main internal branch, which is why it was marked as cannot reproduce.

After the release of 4.16, if you’re still experiencing the same issue, feel free to leave a comment to reopen this thread to let me know it’s still occurring and I’ll be glad to continue to investigate.

Thanks

---

<div class="post-metadata">

**Author:** ![Jake1337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jake1337](https://forums.unrealengine.com/u/Jake1337)\
**Post date:** [October 6, 2017, 9:07am UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/13 "2017-10-06T09:07:15Z")

</div>

4.17.1 issue sill reproduces for AI path following (AI MOVE TO)  
Incorrect velocity and not respecting acceleration/deceleration.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [October 6, 2017, 12:17pm UTC](https://forums.unrealengine.com/t/ai-pawn-movement-component-issues/362662/14 "2017-10-06T12:17:40Z")

</div>

Hey Jake1337,

Is the movement actually being disabled? The ticket that was related to this issue was specifically that “Use Acceleration for Paths” would completely disable pathfinding. If you think you may be running into something different, please open a new thread in the Bug Reports section and provide as much information about the issue as possible, including a detailed list of repro steps or a test project that we can use to see the issue on our end.

Thanks
