   how to translate a .x file mesh object in directx
  how would u translate a mesh object that is imported as a .x file?i want to assign it to a key likecase 'f'{  some how translate it;}   
  You store the position of the mesh. Then everytime a key is pressed, you translate that position. To get the actual mesh to translate, you need to build a translation matrix using this position, and then set it as the world matrix.The easy way to do this is just to use directx functions like this://craete the translation matrixD3DXMATRIX worldMatrix;D3DXMatrixTranslation(&world, x, y, z);//set the matrix as the world transformationd3dDevice->SetTransform(D3DTS_WORLD, &world);//now draw the meshd3dMesh->DrawSubset(0);;  Hey thanks for the help!!  I've got a translation working now, but the only problem is I have 2 mesh objects in my scene, how would u translate just one of these objects and not do a world translation?   ;  You literally set the world matrix for each mesh before you render it (unless you have multiple meshes that require the same world transformation). If you want the world matrix to do nothing to the mesh, you set it to the identity matrix. D3DXMATIX world;D3DXMatrixIdentity(&world);d3dDevice->SetTransform(D3DTS_WORLD, &world);d3dMesh->DrawSubset(0);   