How do I add force in the direction of movement?

I’m using the ball project template, and I’ve made it so that if the player presses the R key, force is applied to the ball, launching it forward as a sort of boost. I’m unsure, how to add force to the direction the ball is headed. For example, if the ball is going to the right, I want it to launch in that direction instead of forwards.

I can’t figure out how to add force that isn’t on one specific axis.

Could you get the Actors orientation and velocity and apply a force value to it?

Check this out.

also this is a good read and its on the front page of UE4

Check out “Launch Character” node in blueprint , using which you can launch a character in particular axis with force.

Thanks for the input guys, I figured it out.

Basically I just created a boolean to see if the boost key was pressed, then linked it in with the default ball movement blueprint so that if a direction key is pressed and R is pressed, extra force is added to the ball. If directional key is pressed and boost isn’t pressed, it rolls at normal speed.

Thanks again for the input.