   'Shoot' along the Z-Axis ???
  Hi, i try to ''shoot'' along the Z-Axis (in the Scene) with a specific Radian ???*********************************************************xpos-=0.1f*sin((GLfloat)left_right*(3.141592/180));ypos+=0.1f*cos((GLfloat)left_right*(3.141592/180));zpos+=??????????????????forward_back*(3.141592/180));glTranslatef(xpos, ypos, zpos);********************************************************can anyone help me please????thanks  
  ypos, usually, is up and down, so you shouldn''t use it with your left_right variable.  use zpos instead of ypos.  Then you will have a direction to shoot towards, a vector.  If you want to be able to shoot higher or lower, then use ypos with a differnt turning variable.  The names xpos, and zpos for what you are doing above might not be the best to use.  Anyway, you should add your xpos/zpos to other position variables to make it move.  ;  Sorry,i dont know what you mean, iam really new in 3D :-(I try to make a MissileCommand Clone with the Difference that the Player can shoot along the Z-Axis.M''hhhhhhhh its difficult to explain.;  This makes the direction of the shot:xpos-=0.1f*sin((GLfloat)left_right*(3.141592/180));ypos+=0.1f*cos((GLfloat)left_right*(3.141592/180));since y axis is up and down (z front and back, x side to side) and its a direction, it would be better named like this:xdir-=0.1f*sin((GLfloat)left_right*(3.141592/180));zdir+=0.1f*cos((GLfloat)left_right*(3.141592/180));note, x and z pretty much makes the ground and when something moves and turns, z isnt always front and back.If you want to move east: xdir=-1,zdir=0If you want to move west: xdir=1,zdir=0If you want to move north: xdir=0,zdir=1If you want to move south: xdir=0,zdir=-1or any other decimal combination for the directionyour code converts the normal 360 degree turning direction to what I explained above.now you add those to the position of the missile every frame:xpos+=xdir;zpos+=zdir;therfore the missile will be at point xpos and zpos (if you want ypos you need another variable rather then left_right)now simply translate (if you dont want up and down motion yet, keep y at zero or any other height) and draw:glTranslatef(xpos,0.0f,zpos);draw();;  thanks a lot!!!!wolf  