|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Test that checks if a pair of colliders should collide. More...
#include <GREM/physics/Shape.hpp>
Public Member Functions | |
| constexpr CollisionFilterTestResult | operator() (CollisionFilter a, CollisionFilter b) const noexcept |
| Check if a given pair of collider's filters meet the requirements. | |
Public Attributes | |
| CollisionLayers | detectionLayers = CollisionLayers::ALL |
| Layers to test for collision detection. | |
| CollisionLayers | responseLayers = CollisionLayers::ALL |
| Layers to test for collision response. | |
Static Public Attributes | |
| static const CollisionFilterTest | DETECTION |
| Test that checks if a pair of colliders may detect collisions with each other on any layer. | |
| static const CollisionFilterTest | RESPONSE |
| Test that checks if a pair of colliders may respond to collisions with each other on any layer. | |
Test that checks if a pair of colliders should collide.
|
inlinenodiscardconstexprnoexcept |
Check if a given pair of collider's filters meet the requirements.
| a | collision filter of the first collider to test. |
| b | collision filter of the second collider to test. |
|
inlinestaticconstexpr |
Test that checks if a pair of colliders may detect collisions with each other on any layer.
|
inlinestaticconstexpr |
Test that checks if a pair of colliders may respond to collisions with each other on any layer.
| CollisionLayers grem::physics::CollisionFilterTest::detectionLayers = CollisionLayers::ALL |
Layers to test for collision detection.
| CollisionLayers grem::physics::CollisionFilterTest::responseLayers = CollisionLayers::ALL |
Layers to test for collision response.