public class btCompoundShape extends btCollisionShape
className| Constructor and Description |
|---|
btCompoundShape() |
btCompoundShape(boolean enableDynamicAabbTree) |
btCompoundShape(boolean enableDynamicAabbTree,
int initialChildCapacity) |
btCompoundShape(long cPtr,
boolean cMemoryOwn)
Construct a new btCompoundShape, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildShape(Matrix4 localTransform,
btCollisionShape shape) |
void |
calculatePrincipalAxisTransform(FloatBuffer masses,
Matrix4 principal,
Vector3 inertia) |
void |
createAabbTreeFromChildren() |
void |
dispose() |
btCompoundShapeChild |
getChildList() |
btCollisionShape |
getChildShape(int index) |
Matrix4 |
getChildTransform(int index) |
static long |
getCPtr(btCompoundShape obj) |
btDbvt |
getDynamicAabbTree() |
int |
getNumChildShapes() |
int |
getUpdateRevision() |
void |
recalculateLocalAabb() |
void |
removeChildShape(btCollisionShape shape) |
void |
removeChildShapeByIndex(int index) |
void |
updateChildTransform(int childIndex,
Matrix4 newChildTransform) |
void |
updateChildTransform(int childIndex,
Matrix4 newChildTransform,
boolean shouldRecalculateLocalAabb) |
calculateLocalInertia, calculateSerializeBufferSize, calculateTemporalAabb, getAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getContactBreakingThreshold, getCPtr, getLocalScaling, getMargin, getName, getShapeType, getUserIndex, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, newDerivedObject, serialize, serializeSingleShape, setLocalScaling, setMargin, setUserIndex, setUserPointerequals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btCompoundShape(long cPtr,
boolean cMemoryOwn)
public btCompoundShape(boolean enableDynamicAabbTree,
int initialChildCapacity)
public btCompoundShape(boolean enableDynamicAabbTree)
public btCompoundShape()
public static long getCPtr(btCompoundShape obj)
public void addChildShape(Matrix4 localTransform, btCollisionShape shape)
public void removeChildShape(btCollisionShape shape)
public void removeChildShapeByIndex(int index)
public btCollisionShape getChildShape(int index)
public void dispose()
dispose in interface Disposabledispose in class BulletBasepublic int getNumChildShapes()
public Matrix4 getChildTransform(int index)
public void updateChildTransform(int childIndex,
Matrix4 newChildTransform,
boolean shouldRecalculateLocalAabb)
public void updateChildTransform(int childIndex,
Matrix4 newChildTransform)
public btCompoundShapeChild getChildList()
public void recalculateLocalAabb()
public btDbvt getDynamicAabbTree()
public void createAabbTreeFromChildren()
public void calculatePrincipalAxisTransform(FloatBuffer masses, Matrix4 principal, Vector3 inertia)
public int getUpdateRevision()
Copyright © 2017. All rights reserved.