There are many ways...parent the camera to the player and such...part of it will depend on how you want the player to control the character.
for example...Do you want direct control where pressing the up arrow (or up on the gamepad/joystick) always makes the character move foreward as in resident Evil games?...or do you want relitive control where pressing up makes the character move toword the top of the screen no matter what direction the camera is faceing?
If its the first way you may want something along the lines of parenting the camera to the character inorder to give a better sense of direct control...else you may want to use a system where the camera is within a certain distance from the character, but free to look at the character without rotateing with them...
basicly American McGees Alice is direct control...while Prince of Pershia:Sands of Time is relative control...direct is easyer, relative can be (but isn't exclusively) more robust in the things that can be done...so which is it?
for example...Do you want direct control where pressing the up arrow (or up on the gamepad/joystick) always makes the character move foreward as in resident Evil games?...or do you want relitive control where pressing up makes the character move toword the top of the screen no matter what direction the camera is faceing?
If its the first way you may want something along the lines of parenting the camera to the character inorder to give a better sense of direct control...else you may want to use a system where the camera is within a certain distance from the character, but free to look at the character without rotateing with them...
basicly American McGees Alice is direct control...while Prince of Pershia:Sands of Time is relative control...direct is easyer, relative can be (but isn't exclusively) more robust in the things that can be done...so which is it?