Jolt Physics
A multi core friendly Game Physics Engine
|
#include <BroadPhaseQuery.h>
Public Member Functions | |
virtual | ~BroadPhaseQuery ()=default |
Virtual destructor. More... | |
virtual void | CastRay (const RayCast &inRay, RayCastBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Cast a ray and add any hits to ioCollector. More... | |
virtual void | CollideAABox (const AABox &inBox, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Get bodies intersecting with inBox and any hits to ioCollector. More... | |
virtual void | CollideSphere (Vec3Arg inCenter, float inRadius, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Get bodies intersecting with a sphere and any hits to ioCollector. More... | |
virtual void | CollidePoint (Vec3Arg inPoint, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Get bodies intersecting with a point and any hits to ioCollector. More... | |
virtual void | CollideOrientedBox (const OrientedBox &inBox, CollideShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Get bodies intersecting with an oriented box and any hits to ioCollector. More... | |
virtual void | CastAABox (const AABoxCast &inBox, CastShapeBodyCollector &ioCollector, const BroadPhaseLayerFilter &inBroadPhaseLayerFilter={ }, const ObjectLayerFilter &inObjectLayerFilter={ }) const =0 |
Cast a box and add any hits to ioCollector. More... | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Interface to the broadphase that can perform collision queries. These queries will only test the bounding box of the body to quickly determine a potential set of colliding bodies. The shapes of the bodies are not tested, if you want this then you should use the NarrowPhaseQuery interface.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Cast a box and add any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.
|
pure virtual |
Cast a ray and add any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.
|
pure virtual |
Get bodies intersecting with inBox and any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.
|
pure virtual |
Get bodies intersecting with an oriented box and any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.
|
pure virtual |
Get bodies intersecting with a point and any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.
|
pure virtual |
Get bodies intersecting with a sphere and any hits to ioCollector.
Implemented in BroadPhaseBruteForce, and BroadPhaseQuadTree.