I've been working with integrating Havok into my game, and so far it has been going pretty well. It can read .hkx files fine and I can fool around with them in the visual debugger, but I've hit a big problem. The physics part is fine and I understand it, but the rendering part has me in a snag. The game uses DirectX 9, and the only .x file mesh right now is a simple cube 1x1x1 meters (and its .hkx counterpart is performing fine in the visual debugger). Now I'm unsure how to proceed to get the rendered in-game mesh to move as its counterpart is. I assumed it would have to do with setting the mesh's position and rotation to the hkpRigidBody's with something like getPosition and getRotation, but I don't think I'm on the right track. Is there a guide or some sort of basic sample code I can see that performs this? Any bit would be extremely helpful.
Thank you in advance.