I'm doing some tests with RigidShape. I created a ball to be controlled instead of the Player. I managed to create a control, where the ball follows according to the keyboard (w, s, a and d) and placed an Orbit Camera on the object.
So far so good, but the problem is that the object does not move in the direction where the camera is looking. Example:
If the camera is looking at the X axis and pressing the W keyboard, I wanted the object (ball) to move to the X axis where the camera is looking. As well as if the object is stopped, the camera can rotate freely without moving the object (ball).
A great example is the game Marble Blast, I want the ball to have the same mechanics as Marble (in relation to the camera, because the movement is already ok).