16#ifndef BT_GHOST_OBJECT_H
17#define BT_GHOST_OBJECT_H
55 return m_overlappingObjects.
size();
60 return m_overlappingObjects[index];
65 return m_overlappingObjects[index];
70 return m_overlappingObjects;
75 return m_overlappingObjects;
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
int size() const
return the number of elements in the array
btCollisionObject can be used to manage collision detection objects.
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
int getNumOverlappingObjects() const
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
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)
The btGhostPairCallback interfaces and forwards adding and removal of overlapping pairs from the btBr...
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,...
The btOverlappingPairCallback class is an additional optional broadphase user callback for adding/rem...
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.