BulletCapsuleShape.kl¶
Types¶
BulletCapsuleShape (object)¶
The BulletCapsuleShape represents a capsule around the Y axis, there is also the BulletCapsuleShapeX aligned around the X axis and BulletCapsuleShapeZ around the Z axis. The total height is height+2*radius, so the height is just the height between the center of each ‘sphere’ of the capsule caps. The BulletCapsuleShape is a convex hull of two spheres. The BulletMultiSphereShape is a more general collision shape that takes the convex hull of multiple sphere, so it can also represent a capsule when just using two spheres.
Methods¶
BulletCapsuleShape ( in BulletCapsuleShape other ) | |
BulletCapsuleShape ( in Scalar radius, in Scalar height ) | |
BulletCapsuleShape () | |
__construct ! ( in Scalar radius, in Scalar height ) | |
__destroy ! () | |
batchedUnitVectorGetSupportingVertexWithoutMargin ? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] ) | |
calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia ) | |
BulletCapsuleShape | clone ? () |
getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax ) | |
Scalar | getHalfHeight ? () |
Scalar | getMargin ? () |
String | getName ? () |
Data | getPointer ? () |
Scalar | getRadius ? () |
Integer | getUpAxis ? () |
Vec3 | localGetSupportingVertexWithoutMargin ? ( in Vec3 vec ) |
setLocalScaling ! ( in Vec3 scaling ) | |
setMargin ! ( in Scalar collisionMargin ) | |
setMargin ! ( in Scalar margin ) | |
~BulletCapsuleShape () |