Jolt Physics
A multi core friendly Game Physics Engine
|
A simple body filter implementation that ignores a single, specified body. More...
#include <BodyFilter.h>
Public Member Functions | |
IgnoreSingleBodyFilter (const BodyID &inBodyID) | |
Constructor, pass the body you want to ignore. | |
virtual bool | ShouldCollide (const BodyID &inBodyID) const override |
Filter function. Returns true if we should collide with inBodyID. | |
Public Member Functions inherited from BodyFilter | |
virtual | ~BodyFilter ()=default |
Destructor. | |
virtual bool | ShouldCollideLocked (const Body &inBody) const |
Filter function. Returns true if we should collide with inBody (this is called after the body is locked and makes it possible to filter based on body members) | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
A simple body filter implementation that ignores a single, specified body.
|
inlineexplicit |
Constructor, pass the body you want to ignore.
|
inlineoverridevirtual |
Filter function. Returns true if we should collide with inBodyID.
Reimplemented from BodyFilter.