Syncing Camera & Movement (Rolling Ball)

Heyyya Thanks for checking out this post!

So I’m trying to make the ball move in sync with the camera so overall I got the camera to move around ball like so …
Link: Screen capture - 259ad484368954be8eee5350932c8712 - Gyazo

And so the keyboard is set for wasd as general, but If i go around the ball at a different angle 180 and try to move forward even tho I should be pressing W I am pressing S for back… and I need to make it so the ball moves in sync with where the camera is looking… and links examples or actually step to step instructions will be greatly appreciated. Thanks.

Link: Screenshot - 17d0d537c59fd0e2cd114585615fb096 - Gyazo