Hi Everyone,
I recently decided to play around with the Rolling Ball template. I added the orbiting camera from the third person template. I’ve been trying to figure out how I could apply force in the direction of the camera. This is how the ball moves:
The problem is that currently the ball moves in fixed directions regardless of where the camera is. I’m trying to move the ball by using both the W, A, S, D keys and the direction that the camera is facing but I’ve forgotten the math.
[Here’s a video highlighting what the problem is][2]
Thanks for reading!