Is there a way to apply a force to a pawn in the direction of the camera?

I’m making a game that revolves around the idea of billiards. I need to get the balls to act like pool balls (i.e. same mass, gravity, drag, etc.) My main priority is to get the balls to act like they’ve been struck by a pool stick. My idea was to use to apply force blueprint to shoot the ball at a high force in the direction the camera is facing. After attempting this, I came up with being able to launch the ball, but in the direction the ball itself is facing.

So, is there a way to get the force to be applied in the direction the camera is facing? Or in the direction the BP is facing?

It’s actually very simple, of course the way I set it up the camera was rolling with the ball lol, but here is a screen shot of the nodes

1 Like

Thank you for your help. This worked perfectly.

No problem good luck in your game

For those looking for a solution to their roll a ball game where they want the force applied in the camera’s direction this worked perfectly. Thank you @shotty46290

Make sure to have accel change ticked for a better “feel”

sorry for necro but fixed a few problems with that roll ball game solution.

it was using the camera’s pitch when controlling horizontal rolling, and some of the nodes could also be combined

hope this helps anyone making a rolling ball game! (speed is a float set to 35, adjust however)