It is possible with only logic bricks, though some of these coders would probably cringe at my way of doing it (btw I am learning how to code currently )
This system takes 2 cubes, an empty, the character you control, and a camera
- I start with a very small (as in nearly invisible) cube(1) in the center of the character that is parented to the character.
- Next I take a cube(2) and vertex parent it to that small cube(1).
- The empty is then placed in front of the character and parented to the cube(2)
- Then parent the camera to cube(2)
Open up the logic now - The cube(2) should be set with:
mouse movement ------> and -------> mouse look (but only on the x-axis) - The character should be set with:
keyboard W ---------> and ---------> track to the empty
Thats about it, as far as I know, I messed around with it earlier
good luck,
Fredstash