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.

BulletBoxShape BulletBoxShape BulletBoxShape BulletCollisionShape BulletCollisionShape BulletBoxShape->BulletCollisionShape BulletConvexInternalShape BulletConvexInternalShape BulletBoxShape->BulletConvexInternalShape BulletConvexShape BulletConvexShape BulletBoxShape->BulletConvexShape BulletPolyhedralConvexShape BulletPolyhedralConvexShape BulletBoxShape->BulletPolyhedralConvexShape

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 ()

Methods in detail

BulletBoxShape ( in BulletBoxShape other )

copy constructor


BulletBoxShape ( in Vec3 boxHalfExtents )


BulletBoxShape ()

default constructor


BulletBoxShape.__construct! ( in Vec3 boxHalfExtents )


BulletBoxShape.__destroy! ()


BulletBoxShape.batchedUnitVectorGetSupportingVertexWithoutMargin? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] )


BulletBoxShape.calculateLocalInertia? ( in Scalar mass, io Vec3 inertia )


BulletBoxShape BulletBoxShape.clone? ()

clone method


BulletBoxShape.getAabb? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax )

getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.


BulletBoxShape.getEdge? ( in Integer i, in Vec3 pa, in Vec3 pb )


Vec3 BulletBoxShape.getHalfExtentsWithMargin? ()


Vec3 BulletBoxShape.getHalfExtentsWithoutMargin? ()


Scalar BulletBoxShape.getMargin? ()


String BulletBoxShape.getName? ()


Integer BulletBoxShape.getNumEdges? ()


Integer BulletBoxShape.getNumPlanes? ()


Integer BulletBoxShape.getNumVertices? ()


BulletBoxShape.getPlane? ( in Vec3 planeNormal, in Vec3 planeSupport, in Integer i )


BulletBoxShape.getPlaneEquation? ( io Vec4 plane, in Integer i )


Data BulletBoxShape.getPointer? ()


BulletBoxShape.getVertex? ( in Integer i, in Vec3 vtx )


Boolean BulletBoxShape.isInside? ( in Vec3 pt, in Scalar tolerance )


Vec3 BulletBoxShape.localGetSupportingVertex? ( in Vec3 vec )


Vec3 BulletBoxShape.localGetSupportingVertexWithoutMargin? ( in Vec3 vec )


BulletBoxShape.setLocalScaling! ( in Vec3 scaling )


BulletBoxShape.setMargin! ( in Scalar collisionMargin )


BulletBoxShape.setMargin! ( in Scalar margin )


~ BulletBoxShape ()