Blender
V3.3
|
#include "btCollisionObject.h"
#include "BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h"
#include "LinearMath/btAlignedAllocator.h"
#include "BulletCollision/BroadphaseCollision/btOverlappingPairCache.h"
#include "btCollisionWorld.h"
Go to the source code of this file.
Classes | |
class | btPairCachingGhostObject |
class | btGhostPairCallback |
The btGhostPairCallback interfaces and forwards adding and removal of overlapping pairs from the btBroadphaseInterface to btGhostObject. More... | |
Variables | |
btGhostObject | __pad0__ |
|
virtual |
this method is mainly for expert/internal use only.
btGhostObject::btGhostObject | ( | ) |
Definition at line 21 of file btGhostObject.cpp.
References CO_GHOST_OBJECT, and m_internalType.
Referenced by btGhostPairCallback::addOverlappingPair(), btGhostPairCallback::removeOverlappingPair(), and upcast().
void convexSweepTest | ( | const class btConvexShape * | castShape, |
const btTransform & | convexFromWorld, | ||
const btTransform & | convexToWorld, | ||
btCollisionWorld::ConvexResultCallback & | resultCallback, | ||
btScalar | allowedCcdPenetration = 0.f |
||
) | const |
Referenced by createPredictiveContactsInternal(), and integrateTransformsInternal().
int getNumOverlappingObjects | ( | ) | const |
Definition at line 53 of file btGhostObject.h.
References btAlignedObjectArray< T >::size().
const btCollisionObject * getOverlappingObject | ( | int | index | ) |
Definition at line 58 of file btGhostObject.h.
const btAlignedObjectArray< btCollisionObject * > getOverlappingPairs | ( | ) |
Definition at line 68 of file btGhostObject.h.
void rayTest | ( | const btVector3 & | rayFromWorld, |
const btVector3 & | rayToWorld, | ||
btCollisionWorld::RayResultCallback & | resultCallback | ||
) | const |
|
virtual |
this method is mainly for expert/internal use only.
|
static |
Definition at line 88 of file btGhostObject.h.
References btGhostObject(), and CO_GHOST_OBJECT.
|
static |
Definition at line 82 of file btGhostObject.h.
References btGhostObject(), and CO_GHOST_OBJECT.
Referenced by btGhostPairCallback::addOverlappingPair(), and btGhostPairCallback::removeOverlappingPair().
|
virtual |
btGhostObject should have been removed from the world, so no overlapping objects
Definition at line 26 of file btGhostObject.cpp.
References btAssert.
btGhostObject __pad0__ |
The btGhostObject can keep track of all objects that are overlapping By default, this overlap is based on the AABB This is useful for creating a character controller, collision sensors/triggers, explosions etc. We plan on adding rayTest and other queries for the btGhostObject
Definition at line 34 of file btGhostObject.h.