How to sync controls with camera in rolling ball templete

ok. so i have opened up the rolling ball template and played with the code a bit, and ive got a lot of cool things added.
most importantly i have added an option to rotate the camera around the ball so its not a side scroller any more.

but i cant for the life of me figure out how to sync the controls with the camera direction. if i turn my camera to look any direction but forward. the ball will still roll in the same direction despite turning the camera. if i get what i want the ball should roll forward based of the current camera direction, but it currently pulls from the transform axis of the mesh.

im trying to replicate a control scheme from an old game called marble blast ultra.
example video here:https://www.youtube.com/watch?v=kfkcmJ8vxZU

Did you kept the BP for the “MoveRight” and “MoveForward” or did you change it?

Also, how did you set: the “Use Controller Rotation X” in the class defaults and the “Use Pawn Control Rotation” of the spring arm?

To have the ball roll in direction of the camera just do this:

Cool. Ill give this a try. But for reference. Just so im learning and not just doing.

How is it determining axis to rotate. And force to apply off 1 vector value. I figured that was just enough information to tell it where to pivit the rotation

edit i tried the modification. and it didnt seem to work

Sorry, I forgot the MoveRight part:

That because my camera system was different from yours. In any case, this should work in your case, it’s just a question replacing one node:

hello Thanks for this. But it does not work when viewing from top. I tried connecting z node and the ball just spins at same place instead of moving right of left. Please help!

https://answers.unrealengine.com/questions/1034329/physicsball-bp-camera-control-sync-how.html?childToView=1034552#answer-1034552

solution for this issue is here