Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
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;
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
The btOverlappingPairCallback class is an additional optional broadphase user callback for adding/rem...
btCollisionObject can be used to manage collision detection objects.
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
Hash-space based Pair Cache, thanks to Erin Catto, Box2D, http://www.box2d.org, and Pierre Terdiman,...
virtual ~btPairCachingGhostObject()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
virtual ~btGhostPairCallback()
const btAlignedObjectArray< btCollisionObject * > getOverlappingPairs() const
int getNumOverlappingObjects() const
virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy *, btDispatcher *)
The btGhostObject can keep track of all objects that are overlapping By default, this overlap is base...
btHashedOverlappingPairCache * getOverlappingPairCache()
static btGhostObject * upcast(btCollisionObject *colObj)
btCollisionObject * getOverlappingObject(int index)
btAlignedObjectArray< btCollisionObject * > m_overlappingObjects
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
btVector3 can be used to represent 3D points and vectors.
static const btGhostObject * upcast(const btCollisionObject *colObj)
#define ATTRIBUTE_ALIGNED16(a)
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
virtual btBroadphasePair * addOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
virtual void * removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)
btHashedOverlappingPairCache * m_hashPairCache
int getInternalType() const
reserved for Bullet internal usage
The btGhostPairCallback interfaces and forwards adding and removal of overlapping pairs from the btBr...
btAlignedObjectArray< btCollisionObject * > & getOverlappingPairs()
RayResultCallback is used to report new raycast results.
RayResultCallback is used to report new raycast results.
The btBroadphasePair class contains a pair of aabb-overlapping objects.
btPairCachingGhostObject()
int size() const
return the number of elements in the array
const btCollisionObject * getOverlappingObject(int index) const