Box To Box Collision
Blitz3D Forums/Blitz3D Programming/Box To Box Collision
| ||
The collisions text always has to have a ellipsoid to something test. What if I simple want to test for a box to box collision? Tried testing for a box to box collision with type 1, 2 & 3 but neither work very well. The best I can get it is using type 2 (ellipsoid to box) but I can see that the box collides with the other box as a sphere... NO GOOD! Help... |
| ||
For box to box collisions, you're better off using MeshesIntersect. Its a slow routine when you're using high-poly models but for box to box routines its perfect. |
| ||
and you can do additional checks such as distance or if a box is moving before checking meshesintersect. |
| ||
Seems like a collosal waste when you can just compare vert overlaps far faster. |
| ||
Its probably my unoptimised methods, but I found the calculations actually took up more clock cycles than MeshesIntersect did for simple box to box collisions. Anyway, I agree with Sinu that you should check distance first. |