I'm using the following code and getting the same position no matter where the model move:
D3DXVECTOR3 GetEyesPosition()
{
D3DXFRAME_EXTENDED* frame = (D3DXFRAME_EXTENDED*)D3DXFrameFind(m_frameRoot, "eyesSphere");
return D3DXVECTOR3(frame->TransformationMatrix._41, frame->TransformationMatrix._42, frame->TransformationMatrix._43);
}
How do I calculate the frame world space position?






