BulletCylinderShape (object)¶
The BulletCylinderShape class implements a cylinder shape primitive, centered around the origin. Its central axis aligned with the Y axis. BulletCylinderShapeX is aligned with the X axis and BulletCylinderShapeZ around the Z axis.
Methods¶
BulletCylinderShape ( in BulletCylinderShape other ) | |
BulletCylinderShape ( in Vec3 halfExtents ) | |
BulletCylinderShape () | |
batchedUnitVectorGetSupportingVertexWithoutMargin ? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] ) | |
calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia ) | |
BulletCylinderShape | clone ? () |
getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax ) | |
Vec3 | getHalfExtentsWithMargin ? () |
Vec3 | getHalfExtentsWithoutMargin ? () |
Scalar | getMargin ? () |
Data | getPointer ? () |
Scalar | getRadius ? () |
Integer | getUpAxis ? () |
Vec3 | localGetSupportingVertex ? ( in Vec3 vec ) |
Vec3 | localGetSupportingVertexWithoutMargin ? ( in Vec3 vec ) |
setLocalScaling ! ( in Vec3 scaling ) | |
setMargin ! ( in Scalar collisionMargin ) | |
setMargin ! ( in Scalar margin ) | |
~BulletCylinderShape () |
Methods in detail¶
BulletCylinderShape ( in BulletCylinderShape other )
copy constructor
BulletCylinderShape ( in Vec3 halfExtents )
default constructor
BulletCylinderShape.batchedUnitVectorGetSupportingVertexWithoutMargin? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] )
BulletCylinderShape.calculateLocalInertia? ( in Scalar mass, io Vec3 inertia )
BulletCylinderShape BulletCylinderShape.clone? ()
clone method
BulletCylinderShape.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.
Vec3 BulletCylinderShape.getHalfExtentsWithMargin? ()
Vec3 BulletCylinderShape.getHalfExtentsWithoutMargin? ()
Scalar BulletCylinderShape.getMargin? ()
Data BulletCylinderShape.getPointer? ()
Scalar BulletCylinderShape.getRadius? ()
Integer BulletCylinderShape.getUpAxis? ()
Vec3 BulletCylinderShape.localGetSupportingVertex? ( in Vec3 vec )
Vec3 BulletCylinderShape.localGetSupportingVertexWithoutMargin? ( in Vec3 vec )
BulletCylinderShape.setLocalScaling! ( in Vec3 scaling )
BulletCylinderShape.setMargin! ( in Scalar collisionMargin )
BulletCylinderShape.setMargin! ( in Scalar margin )
~ BulletCylinderShape ()