hi,everyone
In collision detection, I want to know that What method or algorithm is used to detect the collision point in Narrow phases.I know that this process takes place in ‘addCollisionPairs’.
virtual void addCollisionPairs(const sofa::helper::vector< std::pair<core::CollisionModel*, core::CollisionModel*> >& v)
{
for (sofa::helper::vector< std::pair<core::CollisionModel*, core::CollisionModel*> >::const_iterator it = v.begin(); it!=v.end(); it++)
addCollisionPair(*it);
}
Can you explain it?Or have documentations?