BulletDbvtBroadphase (object)

The BulletDbvtBroadphase implements a broadphase using two dynamic AABB bounding volume hierarchies/trees (see BulletDbvt). One tree is used for static/non-moving objects, and another tree is used for dynamic objects. Objects can move from one tree to the other. This is a very fast broadphase, especially for very dynamic worlds where many objects are moving. Its insert/add and remove of objects is generally faster than the sweep and prune broadphases BulletAxisSweep3 and Bullet32BitAxisSweep3.

BulletDbvtBroadphase BulletDbvtBroadphase BulletDbvtBroadphase BulletBroadphaseInterface BulletBroadphaseInterface BulletDbvtBroadphase->BulletBroadphaseInterface

Members

Data pointer  

Methods

  BulletDbvtBroadphase ( in BulletDbvtBroadphase other )
  BulletDbvtBroadphase ()
  __aabbTest ? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )
  __construct ! ()
  __customAabbTest ? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )
  __destroy ! ()
  aabbTest ? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )
  calculateOverlappingPairs ! ( in BulletDispatcher dispatcher )
BulletDbvtBroadphase clone ? ()
  getAabb ? ( in BulletBroadphaseProxy proxy, io Vec3 aabbMin, io Vec3 aabbMax )
  getBroadphaseAabb ? ( io Vec3 aabbMin, io Vec3 aabbMax )
BulletOverlappingPairCache getOverlappingPairCache ? ()
Data getPointer ? ()
Scalar getVelocityPrediction ? ()
  performDeferredRemoval ! ( in BulletDispatcher dispatcher )
  resetPool ! ( in BulletDispatcher dispatcher )
  setVelocityPrediction ! ( in Scalar prediction )
  ~BulletDbvtBroadphase ()

Methods in detail

BulletDbvtBroadphase ( in BulletDbvtBroadphase other )

copy constructor


BulletDbvtBroadphase ()


BulletDbvtBroadphase.__aabbTest? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )


BulletDbvtBroadphase.__construct! ()


BulletDbvtBroadphase.__customAabbTest? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )


BulletDbvtBroadphase.__destroy! ()


BulletDbvtBroadphase.aabbTest? ( in Vec3 aabbMin, in Vec3 aabbMax, in BulletBroadphaseAabbCallback callback )


BulletDbvtBroadphase.calculateOverlappingPairs! ( in BulletDispatcher dispatcher )

calculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb


BulletDbvtBroadphase BulletDbvtBroadphase.clone? ()

clone method


BulletDbvtBroadphase.getAabb? ( in BulletBroadphaseProxy proxy, io Vec3 aabbMin, io Vec3 aabbMax )


BulletDbvtBroadphase.getBroadphaseAabb? ( io Vec3 aabbMin, io Vec3 aabbMax )

getAabb returns the axis aligned bounding box in the ‘global’ coordinate frame will add some transform later


BulletOverlappingPairCache BulletDbvtBroadphase.getOverlappingPairCache? ()


Data BulletDbvtBroadphase.getPointer? ()


Scalar BulletDbvtBroadphase.getVelocityPrediction? ()


BulletDbvtBroadphase.performDeferredRemoval! ( in BulletDispatcher dispatcher )


BulletDbvtBroadphase.resetPool! ( in BulletDispatcher dispatcher )

reset broadphase internal structures, to ensure determinism/reproducability


BulletDbvtBroadphase.setVelocityPrediction! ( in Scalar prediction )


~ BulletDbvtBroadphase ()