Is "Use acceleration with paths" functioning correctly in 4.12?
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 simple AI system where it finds the nearest player and AIMoveTo's them. While it worked (see GIF here: https://dl.dropboxusercontent.com/u/3299208/SharpMovement.gif), I was a little surprised to see the movement was sharp, ignoring my acceleration value and just hard locking at the defined max speed.
I looked around a bit, and apparently, only in a very recent update, 4.12, was the boolean "Use acceleration for paths" added. However, checking this box completely immobilizes my monster friend. He just...does nothing. I don't really know how to go into the deep nuts and bolts of the NavMesh system to figure out exactly why. And, because the feature is so new, I couldn't find much information on it online.
Does anyone have any insight, here? Or any other way to use Unreal's great navigation features with acceleration? (Maybe calculating your own acceleration and using "max speed" as an effective velocity?)
I got no answer here, but eventually, I just removed the FloatingPathMovement component entirely. I used a UNavigationSystem object to call FindPathToActorSynchronously, and then I used the resulting path nodes to drive custom movement (simply max speed/acceleration stuff) from point to point, smoothly.
Annoying, but ultimately functional.
answered Jul 10 '16 at 09:21 AM
hi, i was having a look at what you did and I was wondering what you did when the path nodes updated if you're goal actor that you were moving to moved, were you able to somehow detect when the path points changed?
answered Aug 24 '16 at 10:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here