Overview of OPCODE Collision Detection
mainOPCODE (OPtimized COllision DEtection) is a C++ collision detection package designed for high performance and low memory footprint. It is suitable for mesh-mesh collision detection, N-body collisions, camera-vs-world collisions, picking, and rigid body simulation.
Key features include:
- Support for arbitrary meshes (convex, non-convex, or polygon soups).
- Implementation using AABB-trees, including no-leaf trees and quantized trees (decompressed on-the-fly).
- Support for both "first contact" and "all contacts" modes.
- Temporal coherence support (up to 10-20x faster in "first contact" mode).
- Various query types: Stabbing, Planes, and Volume queries (Sphere, AABB, OBB, LSS).
- Sweep-and-prune support.
- Hybrid collision models that can significantly reduce memory usage compared to standard trees.