rotaion and translation

hai friends and gurus,

my problem is i have an helicopter that is looking towards x axis. i want the helicopter move along all directions using x key for forword and X key for backwrd . the helicopter moves only fornt and back direction of its. if i rotate the helicopter in 90 degree y axis means then the helicopter must go front direction of the it now that is z axis.

consider

gluCylinder(object,1,0,4,303,0);

this is my helicopter

give me the solution for it friend

<< thread re-direct >>