3d platforming game directinal movement based on the orientation of the camra

iam woundering how to make my charecter move left right forward and backwards depending on how the camras looking at him XD like if the camras looking at his face he will move to the left when the left key is pressed and when the camras looking at his back when u press left i want him to go left XD depending on the camras placement … i think a good example of what iam trying to do is in super mario 64 or in the legand of zelda and the twilight princess XD plz help

sorry but this isnt what i need XD i know how to do this what iam wanting to do is make the charecters X,Y and Z axis’s be dictated by how the camra is looking at the model like if u press the left button continueslly he will walk or run in a big circle cuz right now with my current controls it seems to be very clunky and hard to make jumps with the camra being stuck behind him but if the camra moves the controls become extremly confusing =] do u know how to do this <XD sorry iam terible at explaning

i don’t know if i got what you want.
Do you want the character to have the same orientation like the camera???

i gusse XD lol well let me try to put it like this when your looking at an object through the camra there is always left right forward and back up and down. i want my charecter to move left were ever left would be from how the camras looking at him i know its possible cuz zelda does it and super mario 64 does to XD do ya think u could help?

Translation:
When you’re looking at an object through the camera, there is always left, right, forward, backwards, upwards and downwards.
I want my charecter to move left in relation to the position and orientation of the camera.
I know it’s possible because i’ve seen it in games such as Zelda and Super Mario 64.
Do you think you could help?

Not being rude, it’s simply a lack of punctuation and specificity makes this hard to read!

oh its not rude honestly punctuation never bothered me, as a matter of fact half the time i ignore it. X3 so i have no problem understanding it. XD i only get critsied for my punctuation here .XD never gramer, or spelling always punctuation. XD -laughs- anyway yeah thts about right, if it made any sense to u what iam trying to do. XD so ya think u can help? (is this punctuation easier to understand?)

ah no i know what you mean its the same as in FIFA.
I think you can do it with 2 objects.
the first object is the character itself. You can use animations to make him look left/right/up/…
the second object is the parent of the character for example a cube. the cube is not rotating when you press a key its moving in this direction so his axis will always point into the same direction.
Hope it helps

well thats not what i mean XD i know how to do that u see the problem with that is if the camra moves infront of him then your controls are fliped ie (left key makes u go right and right key makes u go left) thats what i mean by it gets confuseing X3 this is also why i want to know if theres away to make a charecter move by the x y and z axsis of the camra XD or even alter the controls depending how u look at the model

Well i don’t think of any possibility to do that sorry

I’t not only possible, but I’ve done it.
I’ll make a tut to explain how, but first…

Compare it to a popular console game, like GTA, or Spider-Man 3. (same mechanics)

then I’ll see what I can do.

XD awsome lol when will the tut be out? XD btw i havent spider man 3 but i have played alitle of grand theift auto XD and i think tht camra setup may work

I changed my file from joystick movement to a keyboard movement.
http://www.mediafire.com/file/796nopoh5k3973g/Keyboard%20control.blend

oh my gosh!!! this is exactly what i need thank u dude thank u!!! X3

XD well this is what iam wanting to do iam haveing trouble understanding your code even with the green notes <:) so i cant exactly get it to work XD i seem to have problems with the rotation he rotates on the (i belive) y axsis instead of the z XD also your jump i want to actualy move around allitle in the air so the player can help make more presise jumps he cant move in the air on your file XD any ideah how to fix this? XD id like to write the code myself so i can learn and not have to steal others codes XD

HG1 provided a simpler solution than what I was going to propose.

~1ard~ check the orientation of your character and their empties, the code may not be working right because your objects are (virtually) flipped the wrong way.

OH OK :o ill check that thanks XD

XD oh ty ! ill try tht

                                                                                                                                                 OH OK ![http://bafull.cgcookie.netdna-cdn.com/images/smilies/sago/redface.gif](http://bafull.cgcookie.netdna-cdn.com/images/smilies/sago/redface.gif) ill check that thanks XD                                              

XD oh ty ! ill try tht

XD well this is what iam wanting t

atter of fact half the time i ignore it. X3 so i have no problem understanding it. XD i only get critsied for my punctuation here .XD never gramer, or spelling always punctuation. XD -laughs- anyway yeah thts about right, if it made any sense to u what iam trying to do. XD so ya think u can help? (is this punctuation easier to understand?)
There’d better be something hilarious back there, or else you’re going to look back at this when you’re no longer high and think “What the hell was I doing?”

Oh, you mean all the “XD” 's

I think it makes their posts more exciting.

high? sorry but i dont belive in that sinful garbage XD iam proud to say i have never got high drunk or anything like that iam completly in the right mind XD