Jolt Physics
A multi core friendly Game Physics Engine
|
Filter class to test if two objects can collide based on their object layer. Used while finding collision pairs. More...
#include <ObjectLayer.h>
Public Member Functions | |
virtual | ~ObjectLayerPairFilter ()=default |
Destructor. | |
virtual bool | ShouldCollide (ObjectLayer inLayer1, ObjectLayer inLayer2) const |
Returns true if two layers can collide. | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Filter class to test if two objects can collide based on their object layer. Used while finding collision pairs.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Returns true if two layers can collide.
Reimplemented in ObjectLayerPairFilterMask, and ObjectLayerPairFilterTable.