16#ifndef BT_GHOST_OBJECT_H
17#define BT_GHOST_OBJECT_H
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
btCollisionObject can be used to manage collision detection objects.
@ CO_GHOST_OBJECT
CO_GHOST_OBJECT keeps track of all objects overlapping its AABB and that pass its collision filter It...
int getInternalType() const
reserved for Bullet internal usage
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
The btGhostObject can keep track of all objects that are overlapping By default, this overlap is base...
btAlignedObjectArray< btCollisionObject * > & getOverlappingPairs()
static const btGhostObject * upcast(const btCollisionObject *colObj)
const btAlignedObjectArray< btCollisionObject * > getOverlappingPairs() const
void convexSweepTest(const class btConvexShape *castShape, const btTransform &convexFromWorld, const btTransform &convexToWorld, btCollisionWorld::ConvexResultCallback &resultCallback, btScalar allowedCcdPenetration=0.f) const
int getNumOverlappingObjects() const
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
void rayTest(const btVector3 &rayFromWorld, const btVector3 &rayToWorld, btCollisionWorld::RayResultCallback &resultCallback) const
btAlignedObjectArray< btCollisionObject * > m_overlappingObjects
btCollisionObject * getOverlappingObject(int index)
const btCollisionObject * getOverlappingObject(int index) const
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
static btGhostObject * upcast(btCollisionObject *colObj)
virtual btBroadphasePair * addOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
virtual ~btGhostPairCallback()
virtual void * removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)
virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy *, btDispatcher *)
Hash-space based Pair Cache, thanks to Erin Catto, Box2D, http://www.box2d.org, and Pierre Terdiman,...
btOverlappingPairCallback()
btPairCachingGhostObject()
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
btHashedOverlappingPairCache * getOverlappingPairCache()
btHashedOverlappingPairCache * m_hashPairCache
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
virtual ~btPairCachingGhostObject()
btVector3 can be used to represent 3D points and vectors.
The btBroadphasePair class contains a pair of aabb-overlapping objects.
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.
RayResultCallback is used to report new raycast results.
RayResultCallback is used to report new raycast results.