How do I launch a character in a direction relative to them.
I am making an FPS game and I want to have my character side-step using q and e. I know how to launch a character but it is always in a set direction. How would I launch them left or right, relative to the direction they are facing?
asked Jul 15 '18 at 09:56 PM in Blueprint Scripting
Use the GetRightVector() it will give you the right vector, just multiply that by the force you want to launch the character at and plug it in the LaunchCharacter node. And obviously for the left version multiply by -1.
Here's what I use to do that
Follow this question
Once you sign in you will be able to subscribe for any updates here