Thanks Mista Wilson,
I guess I will try to change the functions I have so they take a DBO instead of a DirectX mesh, this is probably slightly beyond me at the moment but I am sure I will figure it out with some research.
I am using triangle meshes purly for terrain, I plan on using simple shapes and boxes for my models etc..
A simpler but crude solution would be to use:
LPCTSTR model = "test.x";
LPD3DXMESH xMesh;
HRESULT hr = D3DXLoadMeshFromX(model,
D3DXMESH_SYSTEMMEM,
dbGetDirect3DDevice(),
NULL,
NULL,
NULL,
NULL,
&xMesh);
if (hr = D3D_OK) myPhysics.makeMeshFromX(xMesh);
if (hr = D3DERR_INVALIDCALL) return;
But it keeps failing(D3DERR_INVALIDCALL), anyone know what else I need to do to load a directX mesh using the above function?