Retrieves a D3DXMATRIX containing the location, scaling and rotation of a specified object or limb.


void dbGetObjectWorldMatrix  ( int iID, int iLimb, D3DXMATRIX* pMatrix )


A D3DXMATRIX first needs to be declared, and for this we need to include d3dx9.h. We then pass a pointer of this matrix to the function, and it will be filled.

D3DXMATRIX matrix;
dbGetObjectWorldMatrix(1, 0, &matrix);

If you do not want to find a specific limb, use 0 for this.

See AlsoEdit


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.