Adding Force to Pawn

I am trying to add a kickback force to the player when the player fires in midair. I can use “Add Movement Input”, but movement input seems to only be active when the player is grounded. I cannot find a way to use Add Force (Character Movement) with the Pawn, it requires an object’CharacterMovementComponent’Target input which I can’t seem to get for the Pawn. “object"PawnMovementComponent” is not compatible with object’CharacterMovementComponent’"

have you tried AddInputVector() ? nevermind, that is clamped between 0 and 1 for input reasons.

maybe just add to velocity?

Are you using a Pawn or Character? If it’s a Character, then you should be able to access the movement component (Get Character Movement), and use either AddForce or AddImpulse. Or you could just directly affect Velocity as Omnicypher suggests.

This is awesome but this pushes the pawn only in 1 direction.
How can I modify this, so it pushes away from the direction it’s heading?
So regardless of which direction the player is heading, it pushes it back

multiply the velocity by -1 and you will get a vector pointing in the opposite direction of velocity. normalize that, then multiply it by the amount of force you want, and you will get the effect you are looking for.