So iam using the rolling ball template.
My goal is move my pawn in the direction of the camera by activating the movement by pressing the left mouse button.
i have tried to remake this from ground up, but it never pans out.
I have parts as i want them.
The camera is a lookat camera working how i want it to.
When i press the lmb, i want the pawn to roll in the direction of where the camera is looking.
As it is now, the pawn rolls straight ahead and thats it. I cant steer it as i want to do it by looking at a direction.
I hope anyone outhere can help.