|
JSim 2026.06.01-p(1)
|
Pure virtual interface for collision detection algorithms. More...
#include <collision_detector.hpp>
Public Member Functions | |
| virtual | ~CollisionDetector ()=default |
| virtual CollisionManifold | DetectCollision (const Shape *shapeA, const Vector3 &posA, const Quaternion &rotA, const Shape *shapeB, const Vector3 &posB, const Quaternion &rotB)=0 |
| Computes the collision manifold between two generic shapes. | |
Pure virtual interface for collision detection algorithms.
|
virtualdefault |
|
pure virtual |
Computes the collision manifold between two generic shapes.
| shapeA | Conceptually the first colliding shape. |
| posA | World position of shapeA. |
| rotA | World rotation of shapeA. |
| shapeB | Conceptually the second colliding shape. |
| posB | World position of shapeB. |
| rotB | World rotation of shapeB. |