16#ifndef BT_BROADPHASE_PROXY_H
17#define BT_BROADPHASE_PROXY_H
122 : m_clientObject(userPtr),
123 m_collisionFilterGroup(collisionFilterGroup),
124 m_collisionFilterMask(collisionFilterMask),
237 return uidA0 > uidB0 ||
BroadphaseNativeTypes
btDispatcher uses these types IMPORTANT NOTE:The types are ordered polyhedral, implicit convex and co...
@ CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE
@ MINKOWSKI_SUM_SHAPE_PROXYTYPE
@ CUSTOM_POLYHEDRAL_SHAPE_TYPE
@ CONVEX_TRIANGLEMESH_SHAPE_PROXYTYPE
@ COMPOUND_SHAPE_PROXYTYPE
@ CONCAVE_SHAPES_START_HERE
@ IMPLICIT_CONVEX_SHAPES_START_HERE
@ HFFLUID_BUOYANT_CONVEX_SHAPE_PROXYTYPE
@ GIMPACT_SHAPE_PROXYTYPE
Used for GIMPACT Trimesh integration.
@ SOFTBODY_SHAPE_PROXYTYPE
@ CONVEX_2D_SHAPE_PROXYTYPE
@ SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE
@ TRIANGLE_SHAPE_PROXYTYPE
@ TRIANGLE_MESH_SHAPE_PROXYTYPE
@ TERRAIN_SHAPE_PROXYTYPE
@ MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE
Multimaterial mesh.
@ CUSTOM_CONCAVE_SHAPE_TYPE
@ INVALID_SHAPE_PROXYTYPE
@ UNIFORM_SCALING_SHAPE_PROXYTYPE
@ MINKOWSKI_DIFFERENCE_SHAPE_PROXYTYPE
@ CUSTOM_CONVEX_SHAPE_TYPE
@ MULTI_SPHERE_SHAPE_PROXYTYPE
@ CYLINDER_SHAPE_PROXYTYPE
@ FAST_CONCAVE_MESH_PROXYTYPE
used for demo integration FAST/Swift collision library and Bullet
@ MAX_BROADPHASE_COLLISION_TYPES
@ CAPSULE_SHAPE_PROXYTYPE
@ TETRAHEDRAL_SHAPE_PROXYTYPE
@ HFFLUID_SHAPE_PROXYTYPE
@ CONCAVE_SHAPES_END_HERE
@ CONVEX_HULL_SHAPE_PROXYTYPE
bool operator==(const btBroadphasePair &a, const btBroadphasePair &b)
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
bool operator()(const btBroadphasePair &a, const btBroadphasePair &b) const
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
btVector3 can be used to represent 3D points and vectors.
The btBroadphasePair class contains a pair of aabb-overlapping objects.
btBroadphasePair(btBroadphaseProxy &proxy0, btBroadphaseProxy &proxy1)
btBroadphaseProxy * m_pProxy1
btBroadphaseProxy * m_pProxy0
btCollisionAlgorithm * m_algorithm
BT_DECLARE_ALIGNED_ALLOCATOR()
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.
CollisionFilterGroups
optional filtering to cull potential collisions
int m_collisionFilterMask
static bool isInfinite(int proxyType)
static bool isCompound(int proxyType)
static bool isSoftBody(int proxyType)
static bool isConvex2d(int proxyType)
int m_collisionFilterGroup
static bool isPolyhedral(int proxyType)
static bool isNonMoving(int proxyType)
BT_DECLARE_ALIGNED_ALLOCATOR()
static bool isConcave(int proxyType)
static bool isConvex(int proxyType)
btBroadphaseProxy(const btVector3 &aabbMin, const btVector3 &aabbMax, void *userPtr, int collisionFilterGroup, int collisionFilterMask)