i load 2 meshs extract its material then in render i have
g_pDirect3DDevice->SetMaterial( &pMeshMaterials[i] );
g_pDirect3DDevice->SetTexture( 0, pMeshTextures[i] );
now i want to use matrices to move each mesh diferent ways when a key is pressed , but for some reason both meshs move the same direction when a key is pressed , so i am thinking do you have to
g_pDirect3DDevice->BeginScene();
InitMatrices();
RenderMesh1();
g_pDirect3DDevice->EndScene();
g_pDirect3DDevice->BeginScene();
InitMatrices();
RenderMesh2();
g_pDirect3DDevice->EndScene();
g_pDirect3DDevice->Present(NULL,NULL,NULL,NULL);
otherwise i cant think how i would make both meshs move diferently to 1 another
thanks