Original Post
Hi folks. I'm trying now to make a collision routine. I read about bounding box/sphere so far. But I'm thinking of making that other way wich I create a secondary model, just like the original but with less polygons. This secondary model will be invisible and serve only for collision math. But I'm still having a hard time thinking how to use it. First i thought this: I have two vehicles. First I create one bounding box for each model. Then I load one secondary (invisble) model for each one. So, in the routing I first check collision between the bounding box and if they return true, I start checking collision between secondary models (for more accurate collision). I think this will take less CPU since the hard collision test will be only when bounding box collision return true. Understand? Thats nice so far (I think). But I don't know how to create a collision test for the secondary models. For the bounding box is only a simple check between biggest and smallest X and Y. But for the secondary models I don't know yet. I was thinking of a collision test by plane equations, is that a good way? I would check collision between planes of both models, 2 by 2 taking one from each model. Is that a good thing to do? Does anyone has a good suggestion? thanks.