"Get Current Acceleration" Not working for AI Character

Hi everyone,

I have an issue where I’m using the function “Get Current Acceleration” inside the AnimBP event graph to know whether the Character is moving or not (this is the default graph inside the ThidPersonCharacter BP). I created a child from the TPC BP and put an AI controller in it, but when I checked the value returned by the function it says 0 on all 3 axes while the NPC is acutually moving. Am I missing something ?

Best regards

Hi, did you try to check “Use Acceleration for Paths” in the character movement component under “Nav Movement”?

19 Likes

Hi,

Thank you for your answer. With that enabled, I’m having value with that function. Hewever on my Third Person Character BP I don’t have it enabled but still have values, I guess it comes from my input ?

As far as I know, that setting is only for bots (player shouldn’t have anything to do with nav movement :slight_smile: )

1 Like

Ok that’s good to know, thank you !

Thank you from the future.

Thank you very much !!

Its work! Thank you.