I need to know how to make a pawn move backwards a bit when the Hide Input is pressed. This would be used for a hiding feature, to hide from AI vision. This would be for a 3d sidescrolling game.
“backwards” could mean a lot of things. It sounds like you mean having the pawn recede away from the camera toward the background, though.
How to do that depends on how you’re moving your pawn around in the first place, and if you ticked the checkboxes that constrain it to a plane.
My first impression is that if there is normally no movement along the axis perpendicular to the pawn’s movement plane, then just move him along the perpendicular axis in the positive or negative direction.
Another option is root motion where he is animated to offset from his root bone by the desired number of units. Really to answer your question you’re going to have to answer a bunch of other people’s questions to really nail down what you mean. Gotta give some details about how things work in your game.