I have had a read through the 7. Collision tutorial, but am not working with a Quake level or any particular level for that matter. I am just wanting to detect the collision between the meshes of two 3D objects/meshes that I have displayed. How do I do this? Use a radius or something?
I know the 7. Collision tutorial loads in the faeries, but then the processing done in the game loop:
Code: Select all
if (smgr->getSceneCollisionManager()->getCollisionPoint(line, selector, intersection, tri))Code: Select all
selector = smgr->createOctTreeTriangleSelector(q3levelmesh->getMesh(0), q3node, 128);Hope someone can help,
SD.