"Use last movement Input + use pawn controller yaw" issue

context: I was recreating a “dash” ability from Jett in Valorant.


This code is a directional dash ability based on last player input, if the last input is 0 then the character will automatically dash forward.

Issue: when i check “use pawn controller yaw input” the value always returns 0. this issue only occurs when the player is a client not the server. when i check this off then the ability works just fine. i don’t understand where to look to resolve this issue. but since it is just the client having this issue it may have something to do with this note. about how the pawns yaw will be updated if its controlled by a player controller.
image

can someone explain how the “use controller rotation Yaw” breaks the last movement input vector and a possible workaround it or solution.

Issue workaround

Instead of using “get last input vector” use “get current acceleration” because last input vector isn’t replicated by the server but the current acceleration is replicated in my case it gives me the results i needed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.