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.
Methods¶
Methods in detail¶
BulletBoxShape ( in BulletBoxShape other )
copy constructor
BulletBoxShape ( in Vec3 boxHalfExtents )
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 ()