Hullo hullo.

I'm in a 2D jam. I've got a some Transformed vertices:

And I'm trying to use:Code:#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZRHW|D3DFVF_DIFFUSE)

Kinetics.Update just assigns new values to pX and pY each time.Code:D3DXMATRIX matTrans; Kinetics.Update(); m_pD3DDevice->SetVertexShader(D3DFVF_CUSTOMVERTEX); m_pD3DDevice->SetStreamSource(0, m_pVBuffer, sizeof(CUSTOMVERTEX)); D3DXMatrixTranslation(&matTrans, (float)Kinetics.pX, (float)Kinetics.pY, 0.0f); m_pD3DDevice->SetTransform(D3DTS_WORLD, &matTrans); m_pD3DDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, 0, 2);

However, my fancy little box is just sitting still. Is this not a valid method to move vertices in screen space? If not, are there any suggestions on how to do it?

Thanks