BulletBoxShape.kl

Types

BulletBoxShape (object)

The BulletBoxShape is a box primitive around the origin, its sides axis aligned with length specified by half extents, in local shape coordinates. When used as part of a BulletICollisionObject or BulletRigidBody it will be an oriented box in world space.

Members

Data pointer  

Methods

  BulletBoxShape ( in BulletBoxShape other )
  BulletBoxShape ( in Vec3 boxHalfExtents )
  BulletBoxShape ()
  __construct ! ( in Vec3 boxHalfExtents )
  __destroy ! ()
  batchedUnitVectorGetSupportingVertexWithoutMargin ? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] )
  calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia )
BulletBoxShape clone ? ()
  getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax )
  getEdge ? ( in Integer i, in Vec3 pa, in Vec3 pb )
Vec3 getHalfExtentsWithMargin ? ()
Vec3 getHalfExtentsWithoutMargin ? ()
Scalar getMargin ? ()
String getName ? ()
Integer getNumEdges ? ()
Integer getNumPlanes ? ()
Integer getNumVertices ? ()
  getPlane ? ( in Vec3 planeNormal, in Vec3 planeSupport, in Integer i )
  getPlaneEquation ? ( io Vec4 plane, in Integer i )
Data getPointer ? ()
  getVertex ? ( in Integer i, in Vec3 vtx )
Boolean isInside ? ( in Vec3 pt, in Scalar tolerance )
Vec3 localGetSupportingVertex ? ( in Vec3 vec )
Vec3 localGetSupportingVertexWithoutMargin ? ( in Vec3 vec )
  setLocalScaling ! ( in Vec3 scaling )
  setMargin ! ( in Scalar collisionMargin )
  setMargin ! ( in Scalar margin )
  ~BulletBoxShape ()