Hello guys,
I try to apply VCollide to Irrlicht now. However, I don't know how to update position and rotation of an object. This is the code that I implemented. If you have the experience on VCollide, let me how to fix in updating position and rotation of an object.
ptrSceneNode = m_nodePool[nId];
ptrSceneNode->setPosition(pos);
mat.setRotationDegrees(ptrSceneNode->getRotation());
double newTrans[4][4] = {{mat[0], mat[1], mat[2], pos.X},
{mat[4], mat[5], mat[6], pos.Y},
{mat[8], mat[9], mat[10], pos.Z},
{0, 0, 0, 1}};
m_ptrVCollide->UpdateTrans(nId, newTrans);