BulletCompoundShape.kl

Types

BulletCompoundShape (object)

The BulletCompoundShape allows to store multiple other BulletCollisionShapes This allows for moving concave collision objects. This is more general then the static concave BulletBvhTriangleMeshShape. It has an (optional) dynamic aabb tree to accelerate early rejection tests. @todo: This aabb tree can also be use to speed up ray tests on BulletCompoundShape, see http://code.google.com/p/bullet/issues/detail?id=25 Currently, removal of child shapes is only supported when disabling the aabb tree (pass ‘false’ in the constructor of BulletCompoundShape)

Members

Data pointer  
BulletCollisionShape[] children  

Methods

  BulletCompoundShape ( in Boolean enableDynamicAabbTree )
  BulletCompoundShape ( in BulletCompoundShape other )
  BulletCompoundShape ()
  __addChildShape ! ( in Xfo localTransform, in BulletCollisionShape shape )
  __construct ! ( in Boolean enableDynamicAabbTree )
  __destroy ! ()
  __removeChildShape ! ( in BulletCollisionShape shape )
  __removeChildShapeByIndex ! ( in Integer childShapeindex )
  addChildShape ! ( in Xfo localTransform, in BulletCollisionShape shape )
  calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia )
BulletCompoundShape clone ? ()
  getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax )
BulletCollisionShape[] getChildList ? ()
BulletCollisionShape getChildShape ? ( in Integer index )
Xfo getChildTransform ? ( in Integer index )
Vec3 getLocalScaling ? ()
Scalar getMargin ? ()
Integer getNumChildShapes ? ()
Data getPointer ? ()
  removeChildShape ! ( in BulletCollisionShape shape )
  removeChildShapeByIndex ! ( in Integer childShapeindex )
  setLocalScaling ! ( in Vec3 scaling )
  setMargin ! ( in Scalar margin )
  updateChildTransform ! ( in Integer childIndex, in Xfo newChildTransform )
  updateChildTransform ! ( in Integer childIndex, in Xfo newChildTransform, in Boolean shouldRecalculateLocalAabb )
  ~BulletCompoundShape ()