BulletConvex2dShape (object)¶
The BulletConvex2dShape allows to use arbitrary convex shapes as 2d convex shapes, with the Z component assumed to be 0. For 2d boxes, the BulletBox2dShape is recommended.
Members¶
Data | pointer | |
BulletConvexShape | childConvexShape |
Methods¶
BulletConvex2dShape ( in BulletConvex2dShape other ) | |
BulletConvex2dShape ( in BulletConvexShape convexChildShape, in Scalar arg ) | |
BulletConvex2dShape () | |
__construct ! ( in BulletConvexShape convexChildShape ) | |
batchedUnitVectorGetSupportingVertexWithoutMargin ? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] ) | |
calculateLocalInertia ? ( in Scalar mass, io Vec3 inertia ) | |
BulletConvex2dShape | clone ? () |
getAabb ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax ) | |
getAabbSlow ? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax ) | |
BulletConvexShape | getChildShape ? () |
Vec3 | getLocalScaling ? () |
Scalar | getMargin ? () |
Integer | getNumPreferredPenetrationDirections ? () |
Data | getPointer ? () |
getPreferredPenetrationDirection ? ( in Integer index, io Vec3 penetrationVector ) | |
Vec3 | localGetSupportingVertex ? ( in Vec3 vec ) |
Vec3 | localGetSupportingVertexWithoutMargin ? ( in Vec3 vec ) |
setLocalScaling ! ( in Vec3 scaling ) | |
setMargin ! ( in Scalar margin ) | |
~BulletConvex2dShape () |
Methods in detail¶
BulletConvex2dShape ( in BulletConvex2dShape other )
copy constructor
BulletConvex2dShape ( in BulletConvexShape convexChildShape, in Scalar arg )
default constructor
BulletConvex2dShape.__construct! ( in BulletConvexShape convexChildShape )
BulletConvex2dShape.batchedUnitVectorGetSupportingVertexWithoutMargin? ( in Vec3 vectors[], io Vec3 supportVerticesOut[] )
BulletConvex2dShape.calculateLocalInertia? ( in Scalar mass, io Vec3 inertia )
BulletConvex2dShape BulletConvex2dShape.clone? ()
clone method
BulletConvex2dShape.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.
BulletConvex2dShape.getAabbSlow? ( in Xfo t, io Vec3 aabbMin, io Vec3 aabbMax )
BulletConvexShape BulletConvex2dShape.getChildShape? ()
Vec3 BulletConvex2dShape.getLocalScaling? ()
Scalar BulletConvex2dShape.getMargin? ()
Integer BulletConvex2dShape.getNumPreferredPenetrationDirections? ()
Data BulletConvex2dShape.getPointer? ()
BulletConvex2dShape.getPreferredPenetrationDirection? ( in Integer index, io Vec3 penetrationVector )
Vec3 BulletConvex2dShape.localGetSupportingVertex? ( in Vec3 vec )
Vec3 BulletConvex2dShape.localGetSupportingVertexWithoutMargin? ( in Vec3 vec )
BulletConvex2dShape.setLocalScaling! ( in Vec3 scaling )
BulletConvex2dShape.setMargin! ( in Scalar margin )
~ BulletConvex2dShape ()