BulletSphereShape (object)¶
The btSphereShape implements an implicit sphere, centered around a local origin with radius.
Methods¶
BulletSphereShape ( in BulletSphereShape other ) | |
BulletSphereShape ( in Scalar radius ) | |
BulletSphereShape () | |
__construct ! ( in Scalar radius ) | |
__destroy ! () | |
batchedUnitVectorGetSupportingVertexWithoutMargin ? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] ) | |
calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia ) | |
BulletSphereShape | clone ? () |
getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax ) | |
Scalar | getMargin ? () |
String | getName ? () |
Data | getPointer ? () |
Scalar | getRadius ? () |
Vec3 | localGetSupportingVertex ? ( in Vec3 vec ) |
Vec3 | localGetSupportingVertexWithoutMargin ? ( in Vec3 vec ) |
setMargin ! ( in Scalar margin ) | |
setUnscaledRadius ! ( in Scalar radius ) | |
~BulletSphereShape () |
Methods in detail¶
BulletSphereShape ( in BulletSphereShape other )
copy constructor
BulletSphereShape ( in Scalar radius )
default constructor
BulletSphereShape.__construct! ( in Scalar radius )
BulletSphereShape.__destroy! ()
BulletSphereShape.batchedUnitVectorGetSupportingVertexWithoutMargin? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] )
BulletSphereShape.calculateLocalInertia? ( in Scalar mass, io Vec3 inertia )
BulletSphereShape BulletSphereShape.clone? ()
clone method
BulletSphereShape.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.
Scalar BulletSphereShape.getMargin? ()
String BulletSphereShape.getName? ()
Data BulletSphereShape.getPointer? ()
Scalar BulletSphereShape.getRadius? ()
Vec3 BulletSphereShape.localGetSupportingVertex? ( in Vec3 vec )
Vec3 BulletSphereShape.localGetSupportingVertexWithoutMargin? ( in Vec3 vec )
BulletSphereShape.setMargin! ( in Scalar margin )
BulletSphereShape.setUnscaledRadius! ( in Scalar radius )
~ BulletSphereShape ()