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.
|
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 long operatorNew(long sizeInBytes)
operatorNew in class btCollisionShapepublic void operatorDelete(long ptr)
operatorDelete in class btCollisionShapepublic long operatorNew(long arg0,
long ptr)
operatorNew in class btCollisionShapepublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btCollisionShapepublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btCollisionShapepublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btCollisionShapepublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btCollisionShapepublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btCollisionShapepublic int getNumChildShapes()
public Matrix4 getChildTransform(int index)
public Matrix4 getChildTransformConst(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 getDynamicAabbTreeConst()
public btDbvt getDynamicAabbTree()
public void createAabbTreeFromChildren()
public void calculatePrincipalAxisTransform(FloatBuffer masses, Matrix4 principal, Vector3 inertia)
public int getUpdateRevision()
Copyright © 2021. All rights reserved.